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

Unified Diff: test/codegen_expected/language/sync_generator2_test_none_multi.js

Issue 2102053003: Remove DDC custom error list now that strong mode analyzer handles it (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: another fix Created 4 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 | « test/codegen_expected/language/setter4_test.js ('k') | test/codegen_expected/language/type_error_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/language/sync_generator2_test_none_multi.js
diff --git a/test/codegen_expected/language/sync_generator2_test_none_multi.js b/test/codegen_expected/language/sync_generator2_test_none_multi.js
index e7b885561d7e1c3ef7acf27c5104fe0a632e3875..c585943d992b43fd9cc4715b0317e9cd1e0d0058 100644
--- a/test/codegen_expected/language/sync_generator2_test_none_multi.js
+++ b/test/codegen_expected/language/sync_generator2_test_none_multi.js
@@ -10,6 +10,7 @@ dart_library.library('language/sync_generator2_test_none_multi', null, /* Import
const dartx = dart_sdk.dartx;
const expect$ = expect.expect;
const sync_generator2_test_none_multi = Object.create(null);
+ let StreamOfint = () => (StreamOfint = dart.constFn(async.Stream$(core.int)))();
let JSArrayOfint = () => (JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
sync_generator2_test_none_multi.sync = "topLevelSync";
@@ -19,7 +20,7 @@ dart_library.library('language/sync_generator2_test_none_multi', null, /* Import
sync_generator2_test_none_multi.test01 = function() {
return dart.syncStar(function*() {
let x1 = sync_generator2_test_none_multi.sync;
- let stream = async.Stream.fromIterable(JSArrayOfint().of([1, 2, 3]));
+ let stream = StreamOfint().fromIterable(JSArrayOfint().of([1, 2, 3]));
}, dart.dynamic);
};
dart.fn(sync_generator2_test_none_multi.test01, VoidTodynamic());
« no previous file with comments | « test/codegen_expected/language/setter4_test.js ('k') | test/codegen_expected/language/type_error_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698