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

Unified Diff: tests/language/type_literal_prefix_call_test.dart

Issue 801593002: Annotate type_literal_prefix_call_test.dart properly for analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_literal_prefix_call_test.dart
diff --git a/tests/language/type_literal_prefix_call_test.dart b/tests/language/type_literal_prefix_call_test.dart
index 1732ed8f619a6a36ea73b7203e78b1b320b04f8b..8dfdfb3b3ac6d10e87dc35ff3b8fd57a958264cf 100644
--- a/tests/language/type_literal_prefix_call_test.dart
+++ b/tests/language/type_literal_prefix_call_test.dart
@@ -8,5 +8,5 @@ import 'dart:core' as core;
// Check that calling a type with a prefix is allowed, but throws at runtime.
main() {
- Expect.throws(() => core.List(), (e) => e is core.NoSuchMethodError);
+ Expect.throws(() => core.List(), (e) => e is core.NoSuchMethodError); /// 00: static type warning
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698