-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Class modifiers] VM implementation #50733
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
@aam is there work that needs to be done on this? |
@itsjustkevin It looks like your question should be addressed to me and not @aam . I don't expect any work in the VM related to the correctness of the class modifiers feature. However, we may consider using new class modifiers to do some minor optimizations (for example, we can try to reduce number of guarded classes in JIT mode when classes are declared |
This is the second time I've done this @alexmarkov, won't make the mistake again. With your comment above, maybe this is more appropriate in the beta 3 milestone than beta 2, or something we call for now and consider post launch. |
Sounds reasonable. Changed milestone to |
I prematurely closed #51287 for sealed classes. |
As specified in the current versions of the feature specification proposals (https://github.com/dart-lang/language/blob/master/accepted/future-releases/class-modifiers/feature-specification.md and https://github.com/dart-lang/language/blob/master/accepted/future-releases/sealed-types/feature-specification.md), So I think it's okay to keep just one issue open. |
Filed a separate issue about "effectively final" flag: #51765. It's a minor optimization and can be done after Dart 3.0 release. We don't have anything else planned for class modifiers and sealed, so closing this issue. |
No description provided.
The text was updated successfully, but these errors were encountered: