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

Unified Diff: tests/language/src/ImplicitThisTest.dart

Issue 9649015: Change string used to annotate static type issues to 'static type warning' in multitest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged up to tip Created 8 years, 9 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/src/GettersSetters2Test.dart ('k') | tests/language/src/NamedParametersTypeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/ImplicitThisTest.dart
diff --git a/tests/language/src/ImplicitThisTest.dart b/tests/language/src/ImplicitThisTest.dart
index 7f8f4ff8849afced22d18d6f6016564145524632..fca5977041506f1654411cdd27dd021b2534bdfd 100644
--- a/tests/language/src/ImplicitThisTest.dart
+++ b/tests/language/src/ImplicitThisTest.dart
@@ -15,7 +15,7 @@ abstract class Abstract implements Interface {
// This class does not implement "x" either, but it is not marked
// abstract.
-class SubAbstract1 extends Abstract { } /// 01: static type error
+class SubAbstract1 extends Abstract { } /// 01: static type warning
// This class is implicitly abstract as it declares an abstract getter
// method.
@@ -25,7 +25,7 @@ class SubAbstract2 extends Abstract {
// This class does not implement "x" either, but it is not marked
// abstract.
-class SubSubAbstract2 extends SubAbstract2 { } /// 04: static type error
+class SubSubAbstract2 extends SubAbstract2 { } /// 04: static type warning
class Concrete extends Abstract {
get x() => 7;
@@ -37,9 +37,9 @@ class SubConcrete extends Concrete {
}
void main() {
- var x = new Abstract(); /// 02: static type error
+ var x = new Abstract(); /// 02: static type warning
var y = new SubAbstract1(); /// 01: continued
- var z = new SubAbstract2(); /// 03: static type error
+ var z = new SubAbstract2(); /// 03: static type warning
var a = new SubSubAbstract2(); /// 04: continued
Expect.equals(x, x); /// 02: continued
Expect.equals('7', new Concrete().toString());
« no previous file with comments | « tests/language/src/GettersSetters2Test.dart ('k') | tests/language/src/NamedParametersTypeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698