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

Unified Diff: tests/compiler/dart2js_extra/mirrors_used_native_test.dart

Issue 73403003: Fix bug in type_variable_handler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 1 month 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/mirrors_used_native_test.dart
diff --git a/tests/compiler/dart2js_extra/mirrors_used_native_test.dart b/tests/compiler/dart2js_extra/mirrors_used_native_test.dart
index f040e5b6ed545a6d02c02bb958e1ece0d560d9f8..a546682f0c82ad8145e358df464f8ea016b85000 100644
--- a/tests/compiler/dart2js_extra/mirrors_used_native_test.dart
+++ b/tests/compiler/dart2js_extra/mirrors_used_native_test.dart
@@ -8,7 +8,6 @@ import 'dart:mirrors';
import 'package:expect/expect.dart';
main() {
- List; // work-around for a bug in the type-variable handler. TODO(zarah): remove.
Expect.equals(3, reflect([1, 2, 3]).getField(#length).reflectee);
Expect.throws(() => reflect({"hest": 42}).getField(#length),
(e) => e is UnsupportedError);

Powered by Google App Engine
This is Rietveld 408576698