| Index: tests/language_strong/generic_methods_dynamic_test.dart
|
| diff --git a/tests/language_strong/generic_methods_dynamic_test.dart b/tests/language_strong/generic_methods_dynamic_test.dart
|
| index 2da2b656e1a9e9c1cb01d865e9ed978fd282efdf..6b92dc3abce1d626d5bc30b0fa54d1c0cca81dca 100644
|
| --- a/tests/language_strong/generic_methods_dynamic_test.dart
|
| +++ b/tests/language_strong/generic_methods_dynamic_test.dart
|
| @@ -25,20 +25,20 @@ main() {
|
| C c = new C();
|
| dynamic obj = c;
|
|
|
| - c.foo<A>(b); /// 01: compile-time error
|
| - obj.foo<A>(b); /// 02: runtime error
|
| + c.foo<A>(b); //# 01: compile-time error
|
| + obj.foo<A>(b); //# 02: runtime error
|
|
|
| - c.bar<A>(<B>[new B()]); /// 03: compile-time error
|
| - obj.bar<A>(<B>[new B()]); /// 04: runtime error
|
| + c.bar<A>(<B>[new B()]); //# 03: compile-time error
|
| + obj.bar<A>(<B>[new B()]); //# 04: runtime error
|
|
|
| - Expect.equals(c.foo<B>(b), b); /// 05: ok
|
| - Expect.equals(obj.foo<B>(b), b); /// 05: continued
|
| + Expect.equals(c.foo<B>(b), b); //# 05: ok
|
| + Expect.equals(obj.foo<B>(b), b); //# 05: continued
|
|
|
| - dynamic x = c.bar<B>(<B>[new B()]); /// 05: continued
|
| - Expect.isTrue(x is List<B>); /// 05: continued
|
| - Expect.equals(x.length, 1); /// 05: continued
|
| + dynamic x = c.bar<B>(<B>[new B()]); //# 05: continued
|
| + Expect.isTrue(x is List<B>); //# 05: continued
|
| + Expect.equals(x.length, 1); //# 05: continued
|
|
|
| - dynamic y = obj.bar<B>(<B>[new B()]); /// 05: continued
|
| - Expect.isTrue(y is List<B>); /// 05: continued
|
| - Expect.equals(y.length, 1); /// 05: continued
|
| + dynamic y = obj.bar<B>(<B>[new B()]); //# 05: continued
|
| + Expect.isTrue(y is List<B>); //# 05: continued
|
| + Expect.equals(y.length, 1); //# 05: continued
|
| }
|
|
|