Skip to content

Commit d2639a7

Browse files
authored
Initial overview of extension structs (#2352)
Add a proposal exploring the possibility of addressing #1474 while hewing closely to existing Dart concepts. Essentially, we add a restricted form of classes ("structs") which are essentially data classes with primary constructors; and then a further restricted form of structs ("extension structs") which provide wrapper-less views on an object.
1 parent cbca2be commit d2639a7

File tree

1 file changed

+1067
-0
lines changed

1 file changed

+1067
-0
lines changed

0 commit comments

Comments
 (0)