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

Unified Diff: tests/language/const_syntax_test.dart

Issue 1255973006: Fix test so that dartanalyzer can hadle it correctly. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 | « 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/const_syntax_test.dart
diff --git a/tests/language/const_syntax_test.dart b/tests/language/const_syntax_test.dart
index ff231674048f5d9d6696dced9bc1f0895082a010..59fb362ecb7abe3b53f5226af57c4b2127637de1 100644
--- a/tests/language/const_syntax_test.dart
+++ b/tests/language/const_syntax_test.dart
@@ -85,5 +85,5 @@ const B3 = B0 + B1; /// 10: continued
// Check identical.
-const B4 = identical(1, new Point(1,2));
+const B4 = identical(1, new Point(1,2)); /// 12: compile-time error
const B5 = identical(1, const Point(1,2));
« 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