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

bad parameter reference at elimOpaque #11265

Closed
larsrh opened this issue Jan 31, 2021 · 2 comments
Closed

bad parameter reference at elimOpaque #11265

larsrh opened this issue Jan 31, 2021 · 2 comments

Comments

@larsrh
Copy link

larsrh commented Jan 31, 2021

Compiler version

3.0.0-M3

Minimized code

https://github.com/typelevel/semigroups/tree/wip/dotty

sbt ++3.0.0-M3! coreJVM/compile

(Every time I try to minimize it further, I hit #11264)

Output

[error] -- Error: /home/lars/proj/typelevel/semigroups/core/src/main/scala/io/chrisdavenport/semigroups/Dual.scala:20:4 
[error] 20 |    new CommutativeMonad[Dual] with NonEmptyTraverse[Dual] with Distributive[Dual]{
[error]    |    ^
[error]    |bad parameter reference io.chrisdavenport.semigroups.Dual#A at elimOpaque
[error]    |the parameter is type A in class Dual but the prefix io.chrisdavenport.semigroups.Dual
[error]    |does not define any corresponding arguments.

Expectation

It should compile.

@smarter
Copy link
Member

smarter commented Jan 31, 2021

Would you mind trying again with a nightly build? A problem with the same symptoms was recently fixed: #11057

@larsrh
Copy link
Author

larsrh commented Jan 31, 2021

Confirm it is fixed in 3.0.0-RC1-bin-20210130-ab3bc41-NIGHTLY. Now I just get a bunch of #11264's.

@larsrh larsrh closed this as completed Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants