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

Issue 340703003: Prevent double reporting on hex, strings, and multiline comments. (Closed)

Created:
6 years, 6 months ago by srawlins
Modified:
6 years, 4 months ago
Reviewers:
Johnni Winther, ahe
CC:
reviews_dartlang.org, Johnni Winther
Visibility:
Public.

Description

Prevent double reporting on hex, strings, and multiline strings and comments. BUG= https://code.google.com/p/dart/issues/detail?id=18574 R=ahe@google.com Committed: https://code.google.com/p/dart/source/detail?r=39451

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing ahe's comments" #

Patch Set 3 : Adding a negative_test, removing duplicate error exceptions #

Total comments: 2

Patch Set 4 : Comments and comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -18 lines) Patch
M sdk/lib/_internal/compiler/implementation/scanner/listener.dart View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/parser.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/scanner.dart View 1 3 chunks +3 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/message_kind_helper.dart View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
A + tests/language/bad_raw_string_negative_test.dart View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
srawlins
Hi Johnni, Let me know if you are not the one who should review scanner ...
6 years, 6 months ago (2014-06-20 18:54:25 UTC) #1
Johnni Winther
@ahe: Could you take a look at this?
6 years, 6 months ago (2014-06-23 07:25:32 UTC) #2
ahe
I'll review this.
6 years, 6 months ago (2014-06-23 13:50:07 UTC) #3
ahe
Very nice. I'm withholding l*g*t*m because I don't understand why you added a next parameter ...
6 years, 6 months ago (2014-06-23 14:28:49 UTC) #4
srawlins
Thanks so much ahe@ for your comments! Sorry, I've been out of town, but I ...
6 years, 5 months ago (2014-07-15 20:07:08 UTC) #5
ahe
If you add a regression test for r' followed by newline, I'll say LGTM :-) ...
6 years, 5 months ago (2014-07-16 07:54:18 UTC) #6
srawlins
Hi Peter, all should be well now! Thanks much! https://codereview.chromium.org/340703003/diff/1/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart File sdk/lib/_internal/compiler/implementation/scanner/scanner.dart (left): https://codereview.chromium.org/340703003/diff/1/sdk/lib/_internal/compiler/implementation/scanner/scanner.dart#oldcode952 sdk/lib/_internal/compiler/implementation/scanner/scanner.dart:952: ...
6 years, 4 months ago (2014-08-12 04:32:59 UTC) #7
ahe
LGTM/awesome! https://codereview.chromium.org/340703003/diff/40001/tests/language/bad_raw_string_negative_test.dart File tests/language/bad_raw_string_negative_test.dart (right): https://codereview.chromium.org/340703003/diff/40001/tests/language/bad_raw_string_negative_test.dart#newcode1 tests/language/bad_raw_string_negative_test.dart:1: main() { Please add a copyright notice: // ...
6 years, 4 months ago (2014-08-19 09:18:33 UTC) #8
srawlins
Thanks ahe@ https://codereview.chromium.org/340703003/diff/40001/tests/language/bad_raw_string_negative_test.dart File tests/language/bad_raw_string_negative_test.dart (right): https://codereview.chromium.org/340703003/diff/40001/tests/language/bad_raw_string_negative_test.dart#newcode1 tests/language/bad_raw_string_negative_test.dart:1: main() { On 2014/08/19 09:18:33, ahe wrote: ...
6 years, 4 months ago (2014-08-19 21:08:40 UTC) #9
ahe
Still LGTM!
6 years, 4 months ago (2014-08-20 07:58:51 UTC) #10
ahe
I've made you a committer on the project.
6 years, 4 months ago (2014-08-20 08:02:22 UTC) #11
srawlins
The CQ bit was checked by srawlins@google.com
6 years, 4 months ago (2014-08-21 06:47:31 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 06:51:48 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 4 months ago (2014-08-21 06:51:48 UTC) #14
srawlins
6 years, 4 months ago (2014-08-21 14:51:52 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 manually as 39451 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698