Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in Prefix Postfix Infix assignment #133

Open
senth54 opened this issue Jan 10, 2019 · 0 comments
Open

Issue in Prefix Postfix Infix assignment #133

senth54 opened this issue Jan 10, 2019 · 0 comments

Comments

@senth54
Copy link

senth54 commented Jan 10, 2019

I am unable to test the basic Infix , see the bold error message below

Any method which takes a single parameter can be used as an infix operator: a.m(b) can also be written as a m b.

val g: Int = 3
(g + 4) should be(
g.+(4)
) // + is an infix operator
g.+(4) should be(
g + 4
)
Evaluation failed : Compilation Error ; ERROR -> not found: value g at [308, 308, 308]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant