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

Unified Diff: test/codegen/fieldtest.dart

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/fieldtest.dart
diff --git a/test/codegen/fieldtest.dart b/test/codegen/fieldtest.dart
index 72df12e38cb7f988f9036b31ba6d5ff290323ed1..41ce7f480c067c57012a1a41fc285ad00a3be429 100644
--- a/test/codegen/fieldtest.dart
+++ b/test/codegen/fieldtest.dart
@@ -46,7 +46,7 @@ class Derived extends BaseWithGetter {
}
class Generic<T> {
- foo(T t) => print(bar + t);
+ foo(T t) => print(bar + (t as String));
static String bar = 'hello';
}

Powered by Google App Engine
This is Rietveld 408576698