Index: tests/language_strong/generic_field_mixin4_test.dart |
diff --git a/tests/language_strong/generic_field_mixin4_test.dart b/tests/language_strong/generic_field_mixin4_test.dart |
index 5dcc1275bf7b464cb8f26a737fc64a7b1c8f7ea7..137fa1bd1edd05de671515a32048c32d1ddeb165 100644 |
--- a/tests/language_strong/generic_field_mixin4_test.dart |
+++ b/tests/language_strong/generic_field_mixin4_test.dart |
@@ -12,12 +12,13 @@ class M<T> { |
throw 0; |
} on T catch (e) { |
return true; |
- } catch (e) { |
- } |
+ } catch (e) {} |
return false; |
}(); |
} |
+ |
class A<U> {} |
+ |
class C1<V> = Object with M<V>; |
class C2 = Object with M<int>; |
class C3 = Object with M<String>; |
@@ -29,4 +30,4 @@ main() { |
Expect.isTrue(new C2().field); |
Expect.isFalse(new C3().field); |
-} |
+} |