Skip to content

Commit 3886194

Browse files
author
Olivier Chafik
committed
Generate _runtime.js from dart (dart-archive/dev_compiler#310)
The following part files were ported from the original .js (lib/runtime/dart/_foo.js -> input_sdk/private/foo.dart): - input_sdk/private/rtti.dart - input_sdk/private/types.dart - input_sdk/private/classes.dart - input_sdk/private/errors.dart - input_sdk/private/generators.dart - input_sdk/private/operations.dart - input_sdk/private/runtime.dart Notes: - Introduced genericTypeConstructor intrinsic: `JS('', '#(type)', genericTypeConstructor(List))` generates `core.List$(type)` - Used new JS quasiquotes everywhere - Depends on new internal `@JSExportName` annotation to alias symbols like dart.{as, is, const, assert, export, implements, throw, async, dynamic, void} (see https://codereview.chromium.org/1580413002/) BUG= [email protected] Review URL: https://codereview.chromium.org/1530563003 .
1 parent cc2f706 commit 3886194

File tree

104 files changed

+6169
-3984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+6169
-3984
lines changed

pkg/dev_compiler/karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = function(config) {
1818
// list of files / patterns to load in the browser
1919
files: [
2020
'lib/runtime/dart_*.js',
21-
'lib/runtime/_*.js',
2221
'lib/runtime/dart/*.js',
2322
// {pattern: 'test/browser/*.js', included: false}
2423
'test/codegen/expect/async_helper/async_helper.js',

0 commit comments

Comments
 (0)