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

Unified Diff: lib/runtime/dart_runtime.js

Issue 1243503007: fixes #221, initial sync*, async, async* implementation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart_library.js ('k') | lib/src/checker/checker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_runtime.js
diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js
index a3ee139823fd4a9a671e302bd29ffd10852e9b16..d494ee24cc438e5125bd33b344a3cde03a604506 100644
--- a/lib/runtime/dart_runtime.js
+++ b/lib/runtime/dart_runtime.js
@@ -5,12 +5,14 @@
dart_library.library('dart_runtime/dart', null, /* Imports */[
'dart_runtime/_classes',
'dart_runtime/_errors',
+ 'dart_runtime/_generators',
'dart_runtime/_operations',
'dart_runtime/_rtti',
'dart_runtime/_types',
], /* Lazy Imports */[
'dart/_js_helper'
-], function(exports, classes, errors, operations, rtti, types, _js_helper) {
+], function(exports, classes, errors, generators, operations, rtti, types,
+ _js_helper) {
'use strict';
function _export(value) {
@@ -52,8 +54,14 @@ dart_library.library('dart_runtime/dart', null, /* Imports */[
'registerExtension',
'setBaseClass',
'setSignature',
- 'virtualField',
- ])
+ 'virtualField'
+ ]);
+
+ exportFrom(generators, [
+ 'syncStar',
+ 'async',
+ 'asyncStar'
+ ]);
// From dart_utils
exportFrom(dart_utils, ['copyProperties', 'instantiate']);
« no previous file with comments | « lib/runtime/dart_library.js ('k') | lib/src/checker/checker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698