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

Unified Diff: tests/compiler/dart2js_extra/23264_test.dart

Issue 1081873005: Visit arguments of invalid TypeLiteralSends during inference (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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_extra/23264_test.dart
diff --git a/tests/compiler/dart2js_extra/23264_test.dart b/tests/compiler/dart2js_extra/23264_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..89538be8f0da92a03ffbed2da8084035ccf3ae47
--- /dev/null
+++ b/tests/compiler/dart2js_extra/23264_test.dart
@@ -0,0 +1,4 @@
+import 'package:expect/expect.dart';
+
+class A { A(ignore); }
+main() => Expect.throws(() => A(const [])); // oops, `new` is missing!
Siggi Cherem (dart-lang) 2015/04/21 02:21:19 because of the missing new, we weren't visiting in

Powered by Google App Engine
This is Rietveld 408576698