Skip to content

Commit 55dedaf

Browse files
author
John Messerly
committed
Merge pull request #405 from dart-lang/devoncarew-patch-2
Update _operations.js
2 parents 3307317 + ac183ca commit 55dedaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/dev_compiler/lib/runtime/dart/_operations.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ dart_library.library('dart/_operations', null, /* Imports */[
176176
isSubtype(type, core.Map) && isSubtype(actual, core.Map) ||
177177
isSubtype(type, core.Function) && isSubtype(actual, core.Function) ||
178178
isSubtype(type, async.Stream) && isSubtype(actual, async.Stream) ||
179+
isSubtype(type, async.StreamController) &&
180+
isSubtype(actual, async.StreamController) ||
179181
isSubtype(type, async.StreamSubscription) &&
180182
isSubtype(actual, async.StreamSubscription)) {
181183
console.warn('Ignoring cast fail from ' + types.typeName(actual) +

0 commit comments

Comments
 (0)