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

Unified Diff: tests/language/switch_case_test.dart

Issue 261403004: In constant evaluation, properly handle redirecting factory constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: tests/language/switch_case_test.dart
diff --git a/tests/language/switch_case_test.dart b/tests/language/switch_case_test.dart
index 60c150e4853e38f760342f1fc966f5c051f9a4d6..15a57ba28bdd2c066546e07fbc5c300a74e96ef3 100644
--- a/tests/language/switch_case_test.dart
+++ b/tests/language/switch_case_test.dart
@@ -24,6 +24,7 @@ class C implements A {
}
class D implements C {
+ int get x => 0;
Brian Wilkerson 2014/05/06 21:44:32 I don't know enough about this test to know whethe
const factory D() = C.fromD;
}

Powered by Google App Engine
This is Rietveld 408576698