DescriptionAdjusted the optional-const/new specs.
The informal specifications of optional-const and optional-new used to
be incomplete, and this CL adds missing parts (transformation rules for
lists and maps, and for `assignableExpression`).
This version of the documents preserves the property that no `const` is
added without immediate syntactic justification.
The alternative (where `const` is used also in other contexts where
either `const` or `new` must be added, just because we can do that)
is not specified here, that'll be another CL. The corrections done in
this CL will be needed, anyway, so I separated the two.
R=lrn@google.com
Committed: https://github.com/dart-lang/sdk/commit/00e98af7efb66a68c744528042fdb2b9a1838854
Patch Set 1 #
Total comments: 5
Patch Set 2 : Review response #
Messages
Total messages: 7 (3 generated)
|