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

Unified Diff: test/codegen/expect/async/async.js

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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/expect/async/async.js
diff --git a/test/codegen/expect/async/async.js b/test/codegen/expect/async/async.js
index 20f0195339eb143ea03dbc07cfbbcdb2a5dcd941..d87325c647091e19549853aef031e11eab183bee 100644
--- a/test/codegen/expect/async/async.js
+++ b/test/codegen/expect/async/async.js
@@ -3550,7 +3550,7 @@ var async;
let _MapStream$ = dart.generic(function(S, T) {
class _MapStream extends _ForwardingStream$(S, T) {
_MapStream(source, transform) {
- this._transform = transform;
+ this._transform = dart.as(transform, _Transformation);
super._ForwardingStream(source);
}
_handleData(inputEvent, sink) {

Powered by Google App Engine
This is Rietveld 408576698