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

Unified Diff: tests/language/syntax_test.dart

Issue 2992623002: Re-land of CL 2990703002, adding fixes to analyzer_test and error_test. (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_dart2js.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/syntax_test.dart
diff --git a/tests/language/syntax_test.dart b/tests/language/syntax_test.dart
index dd150877d55db04d9a737740e83b01936a1783ac..4210156cd267ef3f8568623ea9ec46a0d3f90108 100644
--- a/tests/language/syntax_test.dart
+++ b/tests/language/syntax_test.dart
@@ -225,18 +225,18 @@ main() {
function __PROTO__$(...args) { return 12; } //# 56: compile-time error
G<> t; //# 57: compile-time error
G<null> t; //# 58: compile-time error
- A<void> a = null; //# 59: compile-time error
- void v; //# 60: compile-time error
- void v = null; //# 61: compile-time error
- print(null is void); //# 62: compile-time error
+ A<void> a = null;
+ void v;
+ void v = null;
+ print(null is void); //# 59: compile-time error
new A();
new B();
new Bad();
- 1 + 2 = 1; //# 63: compile-time error
- new SyntaxTest() = 1; //# 64: compile-time error
- futureOf(null) = 1; //# 65: compile-time error
+ 1 + 2 = 1; //# 60: compile-time error
+ new SyntaxTest() = 1; //# 61: compile-time error
+ futureOf(null) = 1; //# 62: compile-time error
new C();
} catch (ex) {
@@ -250,6 +250,6 @@ class Bad {
}
class C {
- void f; // //# 66: compile-time error
- static void g; // //# 67: compile-time error
+ void f;
+ static void g;
}
« no previous file with comments | « tests/language/language_dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698