-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Wrong staging level when accessing type from class #4350
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
Isn't that correct in the absence of lifting for types? Introducing it makes sense, but last time this came up (while talking to @nicolasstucki during a meeting) there weren't rules for it. |
The problem is that it is the prefix of the type that gets the error. If we add the implicit |
With prefix I referred to |
Yes, I updated it to avoid any misconceptions. |
Oh dear. That's because references to type params are still |
Yeap. 😏 |
Fix #4350: Do not check prefix of class type parameters
Uh oh!
There was an error while loading. Please reload this page.
When:
access to T from the class F is reported as a wrong level:
SImilarly:
The text was updated successfully, but these errors were encountered: