Skip to content

Improve message for infix nullary invocation#7965

Merged
SethTisue merged 1 commit intoscala:2.13.xfrom
som-snytt:issue/11461
Jun 18, 2019
Merged

Improve message for infix nullary invocation#7965
SethTisue merged 1 commit intoscala:2.13.xfrom
som-snytt:issue/11461

Conversation

@som-snytt
Copy link
Copy Markdown
Contributor

Detect that the unit value was reconstituted by
parser and realize that the user exploited
obsolete x f () for nullary f.

Fixes scala/bug#11461

Detect that the unit value was reconstituted by
parser and realize that the user exploited
obsolete `x f ()` for nullary `f`.
@scala-jenkins scala-jenkins added this to the 2.13.1 milestone Apr 3, 2019
@SethTisue SethTisue merged commit fe934ca into scala:2.13.x Jun 18, 2019
@som-snytt som-snytt deleted the issue/11461 branch June 18, 2019 14:40
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

Successfully merging this pull request may close these issues.

2.13: confusing error when using infix for nullary method

3 participants