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

Issue 2772943004: Remove trailing semicolons to make the tests pass with Fasta. (Closed)

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

Description

Remove trailing semicolons to make the tests pass with Fasta. The Fasta's unit test checks that the token stream is fully consumed, i.e. that the next token after the parsed entity is EOF. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/0adfef94716bfd276cabe9be93c241f81b8292a7

Patch Set 1 #

Patch Set 2 : Remove EOF expectation from Fasta unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -39 lines) Patch
M pkg/analyzer/test/generated/parser_fasta_test.dart View 1 4 chunks +0 lines, -39 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
scheglov
3 years, 9 months ago (2017-03-24 19:36:08 UTC) #1
Brian Wilkerson
I have concerns about the implications this has for recovery. I don't know the fasta ...
3 years, 9 months ago (2017-03-24 19:42:43 UTC) #2
scheglov
The alternative is to remove the EOF check. PTAL
3 years, 9 months ago (2017-03-24 19:50:10 UTC) #3
Brian Wilkerson
I don't understand the trade-offs, so I'll defer to Paul.
3 years, 9 months ago (2017-03-24 19:59:51 UTC) #4
Paul Berry
Patch set 1 (keep the EOF check, drop the semicolons) lgtm. Brian, I'm curious to ...
3 years, 9 months ago (2017-03-24 20:28:31 UTC) #5
scheglov
3 years, 9 months ago (2017-03-24 21:34:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0adfef94716bfd276cabe9be93c241f81b8292a7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698