Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Issue 3005833002: Adjusted the optional-const/new specs. (Closed)

Created:
3 years, 3 months ago by eernst
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org, floitsch
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Adjusted 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -100 lines) Patch
M docs/language/informal/optional-const.md View 1 6 chunks +58 lines, -55 lines 0 comments Download
M docs/language/informal/optional-new.md View 1 6 chunks +88 lines, -45 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
eernst
This CL fixes several omissions in the optional-const and optional-new informal specs. It does _not_ ...
3 years, 3 months ago (2017-08-30 09:02:01 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/3005833002/diff/1/docs/language/informal/optional-const.md File docs/language/informal/optional-const.md (right): https://codereview.chromium.org/3005833002/diff/1/docs/language/informal/optional-const.md#newcode125 docs/language/informal/optional-const.md:125: assignableExpressionTail ::= Is it referenced from anywhere? https://codereview.chromium.org/3005833002/diff/1/docs/language/informal/optional-new.md ...
3 years, 3 months ago (2017-08-30 09:29:50 UTC) #4
eernst
Review response. https://codereview.chromium.org/3005833002/diff/1/docs/language/informal/optional-const.md File docs/language/informal/optional-const.md (right): https://codereview.chromium.org/3005833002/diff/1/docs/language/informal/optional-const.md#newcode90 docs/language/informal/optional-const.md:90: `postfixExpression` and as part of an `assignableExpression`. ...
3 years, 3 months ago (2017-08-30 16:51:52 UTC) #5
eernst
3 years, 3 months ago (2017-08-30 16:53:48 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
00e98af7efb66a68c744528042fdb2b9a1838854 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698