Skip to content

Compiler bug: constValue was not evaluated by the compiler #11985

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
scf37 opened this issue Apr 4, 2021 · 0 comments · Fixed by #12028
Closed

Compiler bug: constValue was not evaluated by the compiler #11985

scf37 opened this issue Apr 4, 2021 · 0 comments · Fixed by #12028
Assignees
Milestone

Comments

@scf37
Copy link

scf37 commented Apr 4, 2021

Compiler version

3.0.0-RC1, 3.0.0-RC2

Minimized code & Output

https://scastie.scala-lang.org/ehjkJuUmQQamcw6HC27N4g

Expectation

No "compiler bug" message. Also, I was unable to find out what is 'constant type' and why my type is not constant

@scf37 scf37 added the itype:bug label Apr 4, 2021
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Apr 8, 2021
This avoids subsequet failures on this call.

Fixes scala#11985
michelou pushed a commit to michelou/scala3 that referenced this issue Apr 9, 2021
This avoids subsequet failures on this call.

Fixes scala#11985
michelou pushed a commit to michelou/scala3 that referenced this issue Apr 14, 2021
This avoids subsequet failures on this call.

Fixes scala#11985
@Kordyjan Kordyjan added this to the 3.0.1 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants