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

Issue 998043002: Fixes in codegen and test script (Closed)

Created:
5 years, 9 months ago by Siggi Cherem (dart-lang)
Modified:
5 years, 9 months ago
Reviewers:
Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -6886 lines) Patch
M .gitignore View 1 1 chunk +2 lines, -0 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M lib/src/js/js_ast.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
A lib/src/js/keywords.dart View 1 1 chunk +44 lines, -0 lines 0 comments Download
M lib/src/js/printer.dart View 1 2 chunks +1 line, -43 lines 0 comments Download
M lib/src/utils.dart View 1 2 chunks +33 lines, -1 line 0 comments Download
A test/codegen/8invalid-chars.in+file_name.dart View 1 chunk +4 lines, -0 lines 0 comments Download
A test/codegen/expect/8invalid-chars.in+file_name.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
A test/codegen/expect/8invalid-chars.in+file_name.txt View 1 chunk +1 line, -0 lines 0 comments Download
D test/codegen/expect/server_mode/dev_compiler/runtime/dart_runtime.js View 1 1 chunk +0 lines, -357 lines 0 comments Download
D test/codegen/expect/server_mode/dev_compiler/runtime/harmony_feature_check.js View 1 chunk +0 lines, -28 lines 0 comments Download
D test/codegen/expect/server_mode/dev_compiler/runtime/messages.css View 1 chunk +0 lines, -78 lines 0 comments Download
D test/codegen/expect/server_mode/dev_compiler/runtime/messages_widget.js View 1 chunk +0 lines, -6377 lines 0 comments Download
A test/codegen/expect/try_catch.js View 1 chunk +21 lines, -0 lines 0 comments Download
A test/codegen/expect/try_catch.txt View 1 chunk +1 line, -0 lines 0 comments Download
A test/codegen/try_catch.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M test/test.sh View 1 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 9 (2 generated)
Siggi Cherem (dart-lang)
5 years, 9 months ago (2015-03-11 19:57:47 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (left): https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart#oldcode1540 lib/src/codegen/js_codegen.dart:1540: body.add(js.statement('let # = #;', [_visit(name), _catchParameter])); hmmm. This is ...
5 years, 9 months ago (2015-03-11 20:28:55 UTC) #4
Siggi Cherem (dart-lang)
Thanks for all the great comments. PTAL https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (left): https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart#oldcode1540 lib/src/codegen/js_codegen.dart:1540: body.add(js.statement('let # ...
5 years, 9 months ago (2015-03-11 23:27:22 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (left): https://codereview.chromium.org/998043002/diff/20001/lib/src/codegen/js_codegen.dart#oldcode1540 lib/src/codegen/js_codegen.dart:1540: body.add(js.statement('let # = #;', [_visit(name), _catchParameter])); On 2015/03/11 23:27:22, ...
5 years, 9 months ago (2015-03-11 23:48:01 UTC) #6
Jennifer Messerly
also, besides test.sh LGTM :)
5 years, 9 months ago (2015-03-11 23:48:25 UTC) #7
Siggi Cherem (dart-lang)
Committed patchset #2 (id:40001) manually as 28c7ccb2fc1359df9973fb2565682216c899bb57 (presubmit successful).
5 years, 9 months ago (2015-03-12 00:16:11 UTC) #8
Siggi Cherem (dart-lang)
5 years, 9 months ago (2015-03-12 00:16:26 UTC) #9
Message was sent while issue was closed.
thanks!

https://codereview.chromium.org/998043002/diff/40001/test/test.sh
File test/test.sh (right):

https://codereview.chromium.org/998043002/diff/40001/test/test.sh#newcode29
test/test.sh:29: echo "$ cp -a test/codegen/actual/* test/codegen/expect"
On 2015/03/11 23:48:00, John Messerly wrote:
> This doesn't work if you're standing in a folder besides root. This script is
> meant to work from anywhere, hence changed on purpose in a past revision to
use
> `pwd`. I'm fine with interpolating the `pwd` here if you want to avoid
> pushd/popd.

Ah, I see, never mind, I somehow missed that. reverted

Powered by Google App Engine
This is Rietveld 408576698