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

Unified Diff: tests/language/number_identifier_test.dart

Issue 2967363003: enable fasta scanner in analyzer by default (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « tests/language/language_analyzer2.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/number_identifier_test.dart
diff --git a/tests/language/number_identifier_test.dart b/tests/language/number_identifier_test.dart
index 1087a68a4f4a1308f5edcb75f5be0f37c97ad92c..01389cc53ed906d80ef9b1634b1c9029d73adffa 100644
--- a/tests/language/number_identifier_test.dart
+++ b/tests/language/number_identifier_test.dart
@@ -29,7 +29,7 @@ main() {
Expect.equals(1e-2, 1e-2 as double);
Expect.isTrue(1e+2 is double);
Expect.equals(1e+2, 1e+2 as double);
- Expect.throws(() => 1.e+2, // //# 05: ok
+ Expect.throws(() => 1.e+2, // //# 05: static type warning
(e) => e is NoSuchMethodError); // //# 05: continued
1d; // //# 06: compile-time error
1D; // //# 07: compile-time error
« no previous file with comments | « tests/language/language_analyzer2.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698