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

Issue 2647343003: Update dart2js unit tests to dart_parser and dart_scanner. (Closed)

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

Description

Update dart2js unit tests to dart_parser and dart_scanner. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/f09bf74cbeff251062e061bd2883eb2a06c755d7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -3078 lines) Patch
M .packages View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/diagnostics/messages.dart View 1 chunk +3 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/parser/element_listener.dart View 7 chunks +30 lines, -24 lines 0 comments Download
M pkg/compiler/lib/src/parser/node_listener.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/serialization/equivalence.dart View 1 chunk +1 line, -1 line 0 comments Download
D pkg/dart2js_incremental/lib/caching_compiler.dart View 1 chunk +0 lines, -189 lines 0 comments Download
D pkg/dart2js_incremental/lib/compiler.dart View 1 chunk +0 lines, -211 lines 0 comments Download
D pkg/dart2js_incremental/lib/dart2js_incremental.dart View 1 chunk +0 lines, -176 lines 0 comments Download
D pkg/dart2js_incremental/lib/diff.dart View 1 chunk +0 lines, -122 lines 0 comments Download
D pkg/dart2js_incremental/lib/library_updater.dart View 1 chunk +0 lines, -1521 lines 0 comments Download
D pkg/dart2js_incremental/lib/server.dart View 1 chunk +0 lines, -301 lines 0 comments Download
D pkg/dart2js_incremental/lib/src/options.dart View 1 chunk +0 lines, -134 lines 0 comments Download
D pkg/dart2js_incremental/lib/watcher.dart View 1 chunk +0 lines, -62 lines 0 comments Download
M pkg/dart_parser/lib/src/listener.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M pkg/dart_parser/lib/src/parser.dart View 4 chunks +13 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/diagnostic_reporter_helper.dart View 1 2 chunks +5 lines, -1 line 0 comments Download
D tests/compiler/dart2js/incremental/compile_all.dart View 1 chunk +0 lines, -179 lines 0 comments Download
D tests/compiler/dart2js/incremental/hello_test.dart View 1 chunk +0 lines, -104 lines 0 comments Download
M tests/compiler/dart2js/link_helper.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/parser_helper.dart View 3 chunks +26 lines, -28 lines 0 comments Download
M tests/compiler/dart2js/parser_test.dart View 1 chunk +6 lines, -1 line 0 comments Download
M tests/compiler/dart2js/scanner_offset_length_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/scanner_test.dart View 2 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/unparser2_test.dart View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
ahe
The code in dart2js_incremental was rather broken, and I don't understand how the tests could ...
3 years, 11 months ago (2017-01-24 15:14:37 UTC) #2
Siggi Cherem (dart-lang)
lgtm. Thanks Peter! Yeah, maybe the dart2js_incremental were marked as failing in .status files for ...
3 years, 11 months ago (2017-01-24 21:27:38 UTC) #3
ahe
Thank you, Siggi! https://codereview.chromium.org/2647343003/diff/1/tests/compiler/dart2js/diagnostic_reporter_helper.dart File tests/compiler/dart2js/diagnostic_reporter_helper.dart (right): https://codereview.chromium.org/2647343003/diff/1/tests/compiler/dart2js/diagnostic_reporter_helper.dart#newcode13 tests/compiler/dart2js/diagnostic_reporter_helper.dart:13: import 'package:dart_scanner/dart_scanner.dart'; On 2017/01/24 21:27:38, Siggi ...
3 years, 11 months ago (2017-01-25 07:46:37 UTC) #4
ahe
Committed patchset #2 (id:20001) manually as f09bf74cbeff251062e061bd2883eb2a06c755d7 (presubmit successful).
3 years, 11 months ago (2017-01-25 07:46:55 UTC) #6
ahe
3 years, 11 months ago (2017-01-25 07:49:54 UTC) #7
Message was sent while issue was closed.
On 2017/01/24 21:27:38, Siggi Cherem (dart-lang) wrote:
> Yeah, maybe the dart2js_incremental were marked as failing in .status files
for
> a long time? It is anyways good to delete it now. We can also remove logic
> related to `forgetElement` if that helps in our process of porting dart2js to
> kernel.

I didn't find any status file entries for incremental. We can remove
forgetElement, but I'd leave that to you guys as I don't foresee a need to touch
the elements in dart2js.

Powered by Google App Engine
This is Rietveld 408576698