-
Notifications
You must be signed in to change notification settings - Fork 1.1k
@targetName
can be used on trait/class/object
#11969
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
Actually there's a few testcases that exercise that, and I guess it makes sense for classes that are supposed to be used infix like some hypothetical |
Does this code need to account for |
Hmm, that may be missing indeed, along with dealing with compactified names. |
I forgot about compactification (I did the PR!), thanks. |
For anyone curious, this was noticed while testing WIP on |
Compiler version
3.0.0-RC2
Minimized code
Output
Expectation
I expected this usage of
@targetName
to be disallowed.The text was updated successfully, but these errors were encountered: