dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

Add Dart 3 class modifiers to public classes

Open nex3 opened this issue 2 years ago • 1 comments

Pretty much all the classes we expose publicly in the Dart API should have some form of class modifier, but adding this would be a breaking change, so we should wait until 2.0.0.

nex3 avatar May 26 '23 23:05 nex3

I think it's fine to convert classes that have the @sealed annotation to sealed or final, but we shouldn't do so for un-annotated classes and we can't safely mark classes as base or interface.

nex3 avatar Jun 28 '23 01:06 nex3