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

Issue 1200243002: fixes #232, handling of arguments (Closed)

Created:
5 years, 6 months ago by Jennifer Messerly
Modified:
5 years, 6 months ago
Reviewers:
vsm
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

fixes #232, handling of arguments our renamer wasn't trusting the JS builtin to use arguments correctly :) incidentally, this does the final step in making the renamer precise: it tracks all renames per-scope now. In practice this was almost never hit except for "arguments" though. R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/1b3fbf3e972f14ed6482aad4dfaafa2302841a72

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -29 lines) Patch
M lib/runtime/dart/core.js View 1 chunk +2 lines, -3 lines 0 comments Download
M lib/runtime/dart/js.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 2 chunks +4 lines, -8 lines 2 comments Download
M lib/src/codegen/js_names.dart View 6 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Jennifer Messerly
5 years, 6 months ago (2015-06-23 18:40:17 UTC) #2
vsm
https://codereview.chromium.org/1200243002/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1200243002/diff/1/lib/src/codegen/js_codegen.dart#newcode851 lib/src/codegen/js_codegen.dart:851: if (name in this) result = this[name](...arguments); Shouldn't this ...
5 years, 6 months ago (2015-06-23 19:58:28 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/1200243002/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1200243002/diff/1/lib/src/codegen/js_codegen.dart#newcode851 lib/src/codegen/js_codegen.dart:851: if (name in this) result = this[name](...arguments); On 2015/06/23 ...
5 years, 6 months ago (2015-06-23 20:08:35 UTC) #4
Jennifer Messerly
the other bug is tracked in https://github.com/dart-lang/dev_compiler/issues/163 and https://github.com/dart-lang/dev_compiler/issues/162
5 years, 6 months ago (2015-06-23 20:12:05 UTC) #5
vsm
lgtm - yeah, old code has the same problem. thanks for updating the bug.
5 years, 6 months ago (2015-06-23 20:18:24 UTC) #6
Jennifer Messerly
5 years, 6 months ago (2015-06-23 20:35:44 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1b3fbf3e972f14ed6482aad4dfaafa2302841a72 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698