Remove spurious full stops after "compile-time error"

Change-Id: Ia8d99c2f4de70480c449aa72fde637f07d401288
Reviewed-on: https://dart-review.googlesource.com/74120
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
This commit is contained in:
Lasse Reichstein Holst Nielsen
2018-09-11 11:36:22 +00:00
committed by commit-bot@chromium.org
parent 5ab5c00ea4
commit 9ab03ce3a3
6 changed files with 13 additions and 13 deletions
+2 -4
View File
@@ -74,11 +74,9 @@ issue31596_super_test/none: CompileTimeError
issue31596_tearoff_test: CompileTimeError
issue31596_test: CompileTimeError
malformed2_test: Pass, MissingCompileTimeError # Issue 31056.
mixin_declaration/mixin_declaration_invalid_application_supertype_test/none: CompileTimeError # test issue: Expect.isNotType is not defined
mixin_declaration/mixin_declaration_invalid_override_test/none: CompileTimeError # test issue: A5Foo is abstract
mixin_declaration/mixin_declaration_invalid_superinvocation_test/none: CompileTimeError # bug in analyzer? Exchange UnaryNum, UnaryOptionalNum, and it works.
mixin_declaration/mixin_declaration_subtype_test: CompileTimeError # test issue: missing formal parameters
mixin_declaration/mixin_declaration_superinvocation_application_test/none: CompileTimeError # test issue: class missing
mixin_declaration/mixin_declaration_subtype_test: CompileTimeError
mixin_declaration/mixin_declaration_superinvocation_application_test/05: MissingCompileTimeError
mixin_declaration/mixin_declaration_supertype_compatible_test/04: MissingCompileTimeError # no most specific signature
mixin_declaration/mixin_declaration_syntax_test: CompileTimeError # test issue: many of them
mixin_forwarding_constructor4_test/01: CompileTimeError # See issue 15101
@@ -28,6 +28,6 @@ class _ = UnaryNum with M2; //# 05: compile-time error
main() {
// M1 and M2 are valid types.
Expect.isNotType<M1>(null);
Expect.isNotType<M2>(null);
Expect.notType<M1>(null);
Expect.notType<M2>(null);
}
@@ -59,6 +59,8 @@ abstract class A5Foo = C5Foo with M5;
// Invalid since super-invocaton of foo does not hit concrete implementation.
abstract class _ = C5Bar with M5; //# 08: compile-time error
class A5FooConcrete = A5Foo with C5Bar;
main() {
Expect.equals(42, A5Foo().baz(42));
Expect.equals(42, A5FooConcrete().baz(42));
}
@@ -46,4 +46,4 @@ main() {}
// Just to have some types.
class A {}
class B {}
typedef FuntType = int Function(int);
typedef FuntType = int Function(int);
@@ -30,13 +30,13 @@ class GC<T> implements GA<T>, GB<List<T>> {}
class GD<T> = GC<T> with GM<T>;
bool expectSubtype<Sub, Super> {
bool expectSubtype<Sub, Super>() {
if (<Sub>[] is! List<Super>) {
Expect.fail("$Sub is not a subtype of $Super");
}
}
bool expectNotSubtype<Sub, Super> {
bool expectNotSubtype<Sub, Super>() {
if (<Sub>[] is List<Super>) {
Expect.fail("$Sub is a subtype of $Super");
}
@@ -37,7 +37,7 @@ class C1 {
num foo(num x) => x;
}
abstract C2 extends C1 implements UnaryOptionalNum {
abstract class C2 extends C1 implements UnaryOptionalNum {
num foo([num x]);
}
@@ -57,6 +57,6 @@ class A2 extends C2 //
}
main() {
A1().bar();
A2().bar();
A1().bar(); //# 04: continued
A2().bar(); //# 05: continued
}