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

Issue 2962153002: Add assert-in-initializer-list to formal specification. (Closed)

Created:
3 years, 5 months ago by Lasse Reichstein Nielsen
Modified:
3 years, 5 months ago
Reviewers:
floitsch, eernst
CC:
reviews_dartlang.org, Siggi Cherem (dart-lang), ahe, Brian Wilkerson, hausner
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add assert-in-initializer-list to formal specification. Add tests for new syntax. Not dart-formatted yet since the formatter doesn't accept the new syntax. R=eernst@google.com, floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/609d26a2274ccde0f74725f4df7e081ebc8ea020

Patch Set 1 #

Total comments: 3

Patch Set 2 : More status files. #

Total comments: 30

Patch Set 3 : Update status files. #

Patch Set 4 : Address comments. Fix status files #

Patch Set 5 : Update status files more. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -11 lines) Patch
M docs/language/dartLangSpec.tex View 6 chunks +35 lines, -10 lines 0 comments Download
M pkg/analyzer/lib/source/embedder.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A tests/language/assertion_initializer_const_error2_test.dart View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A tests/language/assertion_initializer_const_error_test.dart View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A tests/language/assertion_initializer_const_function_error_test.dart View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A tests/language/assertion_initializer_const_function_test.dart View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A tests/language/assertion_initializer_test.dart View 1 chunk +140 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 2 chunks +71 lines, -0 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M tests/language/language_kernel.status View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Lasse Reichstein Nielsen
You should be able to remove the flags and enable the feature by default.
3 years, 5 months ago (2017-06-29 12:03:49 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/2962153002/diff/1/tests/language/assertion_initializer_const_error2_test.dart File tests/language/assertion_initializer_const_error2_test.dart (right): https://codereview.chromium.org/2962153002/diff/1/tests/language/assertion_initializer_const_error2_test.dart#newcode29 tests/language/assertion_initializer_const_error2_test.dart:29: const C.cc01(2, 1); //# cc01: compile-time error I ...
3 years, 5 months ago (2017-06-29 12:08:57 UTC) #3
eernst
LGTM. A few typos noted. The only real issue is that we might want to ...
3 years, 5 months ago (2017-07-03 16:36:38 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex#newcode6759 docs/language/dartLangSpec.tex:6759: comma removed. On 2017/07/03 16:36:37, eernst wrote: > The ...
3 years, 5 months ago (2017-07-04 05:36:48 UTC) #5
eernst
Still LGTM, noting that several comments have not yet been processed. Agreed on keeping static ...
3 years, 5 months ago (2017-07-04 09:09:21 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex#newcode6781 docs/language/dartLangSpec.tex:6781: then we say that the assertion failed, Good point. ...
3 years, 5 months ago (2017-07-04 09:42:18 UTC) #7
eernst
LGTM https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex#newcode6781 docs/language/dartLangSpec.tex:6781: then we say that the assertion failed, On ...
3 years, 5 months ago (2017-07-04 09:45:48 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2962153002/diff/20001/docs/language/dartLangSpec.tex#newcode6759 docs/language/dartLangSpec.tex:6759: comma removed. On 2017/07/04 05:36:48, Lasse Reichstein Nielsen wrote: ...
3 years, 5 months ago (2017-07-10 10:57:03 UTC) #9
eernst
LGTM as usual, just noting that assertion_initializer_const_function_error_test.dart is still copyright 201.
3 years, 5 months ago (2017-07-10 11:05:49 UTC) #10
Lasse Reichstein Nielsen
3 years, 5 months ago (2017-07-10 11:59:44 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
609d26a2274ccde0f74725f4df7e081ebc8ea020.

Powered by Google App Engine
This is Rietveld 408576698