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

Issue 1580413002: Add a `@JSExportName` annotation for internal use in the runtime (use it to export dart.assert inst… (Closed)

Created:
4 years, 11 months ago by ochafik
Modified:
4 years, 11 months ago
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

Add a `@JSExportName` annotation for internal use in the runtime (use it to export dart.assert instead of assert_) BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/dbc8291f0156698d6ad75cecd031d7b750c49e02

Patch Set 1 #

Patch Set 2 : Reduced scope (no more package:js) #

Patch Set 3 : (fixed typo) #

Patch Set 4 : Fixed library test #

Patch Set 5 : Test JS's package #

Patch Set 6 : Moved js exported name resolution down to _maybeQualifiedName (Renamed to _emitTopLevelName) #

Total comments: 6

Patch Set 7 : applied comments on emitTopLevelName name + static fields #

Patch Set 8 : made _emitTopLevelName.suffix a named arg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -18 lines) Patch
M lib/runtime/dart/_classes.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/runtime/dart/_foreign_helper.js View 2 chunks +9 lines, -0 lines 0 comments Download
M lib/runtime/dart/_types.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/runtime/dart/_utils.js View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 4 5 6 7 6 chunks +22 lines, -8 lines 0 comments Download
M lib/src/codegen/js_interop.dart View 1 2 3 4 1 chunk +24 lines, -5 lines 0 comments Download
M tool/input_sdk/private/foreign_helper.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M tool/input_sdk/private/utils.dart View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
ochafik
Hey guys, I've split the JS annotation out of the "runtime in dart" CL and ...
4 years, 11 months ago (2016-01-13 11:07:36 UTC) #2
Jennifer Messerly
A few comments but otherwise this LGTM! https://codereview.chromium.org/1580413002/diff/100001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1580413002/diff/100001/lib/src/codegen/js_codegen.dart#newcode1599 lib/src/codegen/js_codegen.dart:1599: return _emitTopLevelName(element); ...
4 years, 11 months ago (2016-01-13 17:44:00 UTC) #5
ochafik
Thanks John! https://codereview.chromium.org/1580413002/diff/100001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1580413002/diff/100001/lib/src/codegen/js_codegen.dart#newcode1599 lib/src/codegen/js_codegen.dart:1599: return _emitTopLevelName(element); On 2016/01/13 17:43:59, John Messerly ...
4 years, 11 months ago (2016-01-13 18:51:29 UTC) #6
Jennifer Messerly
LGTM :)
4 years, 11 months ago (2016-01-19 17:33:17 UTC) #7
ochafik
4 years, 11 months ago (2016-01-19 17:51:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
dbc8291f0156698d6ad75cecd031d7b750c49e02 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698