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

Issue 3010713002: improve recovery of invalid top level abstract modifier usage (Closed)

Created:
3 years, 3 months ago by danrubel
Modified:
3 years, 3 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

improve recovery of invalid top level abstract modifier usage The fasta parser now gracefully degrades if the user puts 'abstract' before a top level declaration other than 'class'. R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/5f5386b404f915f8cef0fc380dcdee512911594f

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -22 lines) Patch
M pkg/analyzer/test/generated/parser_fasta_test.dart View 1 2 4 chunks +17 lines, -13 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M pkg/front_end/lib/src/fasta/parser/parser.dart View 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
danrubel
3 years, 3 months ago (2017-08-30 01:45:12 UTC) #2
ahe
Could you add a test of this to pkg/front_end/testcases/? I'd like to ensure that each ...
3 years, 3 months ago (2017-08-30 12:29:22 UTC) #4
ahe
lgtm As we discussed in our meeting, you'll add tests in a later CL.
3 years, 3 months ago (2017-08-30 14:04:05 UTC) #5
danrubel
Committed patchset #3 (id:40001) manually as 5f5386b404f915f8cef0fc380dcdee512911594f (presubmit successful).
3 years, 3 months ago (2017-08-31 11:28:48 UTC) #7
danrubel
3 years, 3 months ago (2017-08-31 21:11:09 UTC) #8
Message was sent while issue was closed.
On 2017/08/30 12:29:22, ahe wrote:
> Could you add a test of this to pkg/front_end/testcases/?
> 
> I'd like to ensure that each new feature we implement in pkg/front_end is
tested
> outside package:analyzer's unit tests.

I've added additional tests in messages.yaml in
https://codereview.chromium.org/3007943002 and started implementing
messages.yaml tests in https://codereview.chromium.org/3010843002/

Powered by Google App Engine
This is Rietveld 408576698