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

Unified Diff: test/codegen/misc.dart

Issue 1797063002: Resolve obvious deprecation warnings on bleeding edge (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Add test Created 4 years, 9 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
« no previous file with comments | « test/codegen/expect/misc.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/misc.dart
diff --git a/test/codegen/misc.dart b/test/codegen/misc.dart
index ac7bdd0d7ecf0220b60c90cb075fc8778e58535c..2110a5e2832cdbf796e13741e5696288761f4649 100644
--- a/test/codegen/misc.dart
+++ b/test/codegen/misc.dart
@@ -9,6 +9,8 @@ class _Uninitialized { const _Uninitialized(); }
class Generic<T> {
Type get type => Generic;
+ // type parameter type literals
+ m() => print(T);
}
// super ==
@@ -59,4 +61,6 @@ main() {
print(new Generic<int>().type);
print(new Derived() == new Derived()); // true
+
+ new Generic<int>().m();
}
« no previous file with comments | « test/codegen/expect/misc.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698