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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart

Issue 2996723002: Support typedef type literals (Closed)
Patch Set: Cleanup Created 3 years, 4 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: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
index bd6b25ac994cc0a117c4ad78e2f98550567e230c..b65f5b69960bd2a0dc0c106aaa89df52068ab5a7 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -77,6 +77,8 @@ class Generic<T> {
var toplevel;
+typedef Typedef();
+
main() {
foo();
bar(true);
@@ -137,6 +139,8 @@ main() {
return 400 + x;
};
x = f(x);
+ x = Object;
+ x = Typedef;
return x;
}
typedef NoArg();

Powered by Google App Engine
This is Rietveld 408576698