Skip to content

Broken error message for "implicit function type needs non-empty parameter list" #4127

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

Closed
smarter opened this issue Mar 16, 2018 · 0 comments
Assignees
Labels
area:reporting Error reporting including formatting, implicit suggestions, etc itype:bug stat:fix available

Comments

@smarter
Copy link
Member

smarter commented Mar 16, 2018

scala> val x: implicit () => Int = () => 1 
1 |val x: implicit () => Int = () => 1
  |       ^^^^^^^^^^^^^^^^^^
  |(true,implicit) (true,erased) function type needs non-empty parameter list
@smarter smarter added itype:bug area:reporting Error reporting including formatting, implicit suggestions, etc labels Mar 16, 2018
@smarter smarter changed the title Broken error message for "implicit function type needs non-empty parameter list" is broken Broken error message for "implicit function type needs non-empty parameter list" Mar 19, 2018
smarter added a commit that referenced this issue Mar 29, 2018
Fix #4127: Fix mods string of FunctionTypeNeedsNonEmptyParameterList
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:reporting Error reporting including formatting, implicit suggestions, etc itype:bug stat:fix available
Projects
None yet
Development

No branches or pull requests

2 participants