-
Notifications
You must be signed in to change notification settings - Fork 1.1k
TypeError when a class extends from Function0 #5010
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
Comments
Blaisorblade
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 25, 2018
Closed
Blaisorblade
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 25, 2018
To allow again t3613 to compile I need this exception. But the testcase is so old I'm not sure if we should do this, even tho it's still supported by Scalac.
This comment has been minimized.
This comment has been minimized.
So |
Blaisorblade
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 26, 2018
This reverts commit 1fe1232 as it was an incorrect diagnosis. The only existing testcase was written when AbstractListModel had no parameter, so change the testcase instead. We could alternatively infer type arguments (see scala/bug#11111), but that seems typically unhelpful.
Blaisorblade
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 26, 2018
We modify t3613 as it was written when AbstractListModel had no type parameter. We could alternatively infer type arguments (see scala/bug#11111), as scalac does, but that seems typically unhelpful. Instead, we only infer them for constructor applications.
Blaisorblade
added a commit
that referenced
this issue
Jan 15, 2019
…ve-type-arguments Fix #5010: check type parents have type arguments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TE-a6994c362dfcd98096c0617c171bc54fd30101ff
The text was updated successfully, but these errors were encountered: