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

Unified Diff: test/codegen_expected/language/async_star_test_03_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
Index: test/codegen_expected/language/async_star_test_03_multi.js
diff --git a/test/codegen_expected/language/async_star_test_03_multi.js b/test/codegen_expected/language/async_star_test_03_multi.js
index 78c84cb48ee968659042de0cf9a12be84b455885..57e11b34c0b6c7ce58593fcf7a196a9d3f78819c 100644
--- a/test/codegen_expected/language/async_star_test_03_multi.js
+++ b/test/codegen_expected/language/async_star_test_03_multi.js
@@ -15,6 +15,7 @@ dart_library.library('language/async_star_test_03_multi', null, /* Imports */[
const async_star_test_03_multi = Object.create(null);
let JSArrayOfint = () => (JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))();
let JSArrayOfObject = () => (JSArrayOfObject = dart.constFn(_interceptors.JSArray$(core.Object)))();
+ let StreamOfint = () => (StreamOfint = dart.constFn(async.Stream$(core.int)))();
let FutureOfObject = () => (FutureOfObject = dart.constFn(async.Future$(core.Object)))();
let StreamOfObject = () => (StreamOfObject = dart.constFn(async.Stream$(core.Object)))();
let JSArrayOfString = () => (JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))();
@@ -128,7 +129,7 @@ dart_library.library('language/async_star_test_03_multi', null, /* Imports */[
unittest$.test("allows yield*", dart.fn(() => {
function f() {
return dart.asyncStar(function*(stream) {
- if (stream.addStream(async.Stream.fromIterable(JSArrayOfint().of([1, 2, 3])))) return;
+ if (stream.addStream(StreamOfint().fromIterable(JSArrayOfint().of([1, 2, 3])))) return;
yield;
}, dart.dynamic);
}
@@ -258,7 +259,7 @@ dart_library.library('language/async_star_test_03_multi', null, /* Imports */[
unittest$.test("await for-in-loop", dart.fn(() => {
function f() {
return dart.asyncStar(function*(stream) {
- let it = async.StreamIterator.new(async.Stream.fromIterable(JSArrayOfint().of([0, 1, 2])));
+ let it = async.StreamIterator.new(StreamOfint().fromIterable(JSArrayOfint().of([0, 1, 2])));
try {
while (yield it.moveNext()) {
let i = it.current;
« no previous file with comments | « test/codegen_expected/language/async_star_test_02_multi.js ('k') | test/codegen_expected/language/async_star_test_04_multi.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698