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

Unified Diff: tests/compiler/dart2js/mirrors_used_test.dart

Issue 26651006: Switch dart2js 'typedef name = mixinApplication' to 'class name = mixinApplication'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Support modifiers. Created 7 years, 2 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/mirrors_used_test.dart
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart
index 1f259369a5d544be299916c26a1cbf440ed7b7e2..a1fe6377bb2134559fee5912380ce3d8616294f1 100644
--- a/tests/compiler/dart2js/mirrors_used_test.dart
+++ b/tests/compiler/dart2js/mirrors_used_test.dart
@@ -35,6 +35,10 @@ void expectOnlyVerboseInfo(Uri uri, int begin, int end, String message, kind) {
return;
}
if (kind.name == 'info') return;
+
+ // TODO(aprelev@gmail.com): Remove once dartbug.com/13907 is fixed.
+ if (message.contains("Warning: 'typedef' not allowed here")) return;
+
throw '$uri:$begin:$end: $kind: $message';
}

Powered by Google App Engine
This is Rietveld 408576698