-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Type matched class cannot be referenced using classOf
#15155
Comments
It looks indeed plausible that #13780 is the PR that makes it fail. I added a
|
I am not sure the match type is supposed to reduce. Maybe use a TypeTest? But I don't know enough about the details here. |
@OlivierBlanvillain, do you have an opinion about this issue? |
I'm also not sure. This code is asking the compiler to show that |
Compiler version
3.2.0-RC1-bin-20220429-400427d-NIGHTLY
Works with 3.1.2
The first bad commit is 54dc0c1 from #14761
Minimized code
Output
Expectation
Should correctly allow getting an instance of Class for Enum.Value
The text was updated successfully, but these errors were encountered: