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

Unified Diff: tests/language/regress_13462_0_test.dart

Issue 24361003: Fix http://dartbug.com/13462 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add TODO. Created 7 years, 3 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/regress_13462_0_test.dart
diff --git a/tests/language/create_unresolved_type_test.dart b/tests/language/regress_13462_0_test.dart
similarity index 78%
copy from tests/language/create_unresolved_type_test.dart
copy to tests/language/regress_13462_0_test.dart
index ceaf6dc421edb871d8741f36f23b83b50c23a897..b87bf1f24d7378ea99edd41562464cc8f67ffed6 100644
--- a/tests/language/create_unresolved_type_test.dart
+++ b/tests/language/regress_13462_0_test.dart
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import 'dart:mirrors';
+
main() {
- new F<int>(); /// 01: runtime error, static type warning
+ print(MirrorSystem.getName(#foo));
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart ('k') | tests/language/regress_13462_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698