-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Semantic: ScopeFlags
for a class in a class constructor has ScopeFlags::Constructor
#7900
Comments
Fixed in #7932. |
@Dunqing @Boshen Do you have any idea why playground showed different I thought maybe it was because this problem was created by a recent change, and so Playground just wasn't up-to-date with latest main. But now I don't think that's true. Right now Playground still shows that It's a problem for debugging if Playground behaves differently from what we get locally / in production. |
I found the root cause is #7950 |
Input:
Semantic sets
ScopeFlags
forclass Inner {}
asStrictMode | Constructor
. I believe this is a mistake. It should just beStrictMode
.Weirdly I cannot replicate this in playground (playground). But on latest main, when I print
ScopeFlags
for all scopes I get this:Debug code:
As this isn't visible on playground, is this the result of a very recent change? Or is there something else funny going on?
The text was updated successfully, but these errors were encountered: