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

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

Issue 1137543005: Type check binary expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and remove assert Created 5 years, 7 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/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index 6fb5192f0a4daedc23b256a2c45e54aa01ee9405..5d1057f9fdde191dcb4bff95f1f4e02c153a8290 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -73,7 +73,7 @@ var core = dart.import(core);
class Generic extends core.Object {
foo(t) {
dart.as(t, T);
- return core.print(dart.notNull(Generic$().bar) + dart.notNull(t));
+ return core.print(dart.notNull(Generic$().bar) + dart.notNull(dart.as(t, core.String)));
}
}
dart.setSignature(Generic, {

Powered by Google App Engine
This is Rietveld 408576698