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

Issue 2282233002: Add support for parsing, but not capturing, assers in constructor initializer lists (Closed)

Created:
4 years, 3 months ago by Brian Wilkerson
Modified:
4 years, 3 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add support for parsing, but not capturing, assers in constructor initializer lists R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/4a75d78325f347d36f5166e68b87f8af63b8196a

Patch Set 1 #

Total comments: 2

Patch Set 2 : add flag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -63 lines) Patch
M pkg/analyzer/lib/src/context/context.dart View 1 2 chunks +3 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 1 3 chunks +26 lines, -58 lines 0 comments Download
M pkg/analyzer/lib/src/generated/parser.dart View 1 7 chunks +51 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/options.dart View 1 4 chunks +15 lines, -5 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 1 4 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Brian Wilkerson
Does this need to be behind a flag?
4 years, 3 months ago (2016-08-26 23:19:06 UTC) #2
scheglov
LGTM https://codereview.chromium.org/2282233002/diff/1/pkg/analyzer/lib/src/generated/parser.dart File pkg/analyzer/lib/src/generated/parser.dart (right): https://codereview.chromium.org/2282233002/diff/1/pkg/analyzer/lib/src/generated/parser.dart#newcode4358 pkg/analyzer/lib/src/generated/parser.dart:4358: // return AssertInitializer I don't quite understand what ...
4 years, 3 months ago (2016-08-27 00:06:45 UTC) #3
Brian Wilkerson
https://codereview.chromium.org/2282233002/diff/1/pkg/analyzer/lib/src/generated/parser.dart File pkg/analyzer/lib/src/generated/parser.dart (right): https://codereview.chromium.org/2282233002/diff/1/pkg/analyzer/lib/src/generated/parser.dart#newcode4358 pkg/analyzer/lib/src/generated/parser.dart:4358: // return AssertInitializer Done It was a reminder to ...
4 years, 3 months ago (2016-08-27 00:32:44 UTC) #4
Lasse Reichstein Nielsen
Put it behind a flag for now. I believe the flag used in the VM ...
4 years, 3 months ago (2016-08-27 11:23:28 UTC) #5
Brian Wilkerson
PTAL. I added a flag. It is currently only exposed via the analysis options file ...
4 years, 3 months ago (2016-08-28 22:20:28 UTC) #6
scheglov
LGTM
4 years, 3 months ago (2016-08-28 22:57:45 UTC) #7
Lasse Reichstein Nielsen
And for the record, I think you will have to capture the syntax as well, ...
4 years, 3 months ago (2016-08-29 05:48:01 UTC) #8
Brian Wilkerson
> I think you will have to capture the syntax as well ... Yes, we ...
4 years, 3 months ago (2016-08-29 14:56:52 UTC) #9
Brian Wilkerson
4 years, 3 months ago (2016-08-29 14:58:51 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4a75d78325f347d36f5166e68b87f8af63b8196a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698