Chromium Code Reviews| Index: test/codegen/cascade.dart |
| diff --git a/test/codegen/cascade.dart b/test/codegen/cascade.dart |
| index 7cdd3958a4891d5a00f93d2af6df76d7ce5af6b5..f0b310863819fcf96e31b232c3d074a7a9af70bc 100644 |
| --- a/test/codegen/cascade.dart |
| +++ b/test/codegen/cascade.dart |
| @@ -68,3 +68,13 @@ void test_VariableDeclaration_first() { |
| b = 2; |
| print(a); |
| } |
| + |
| +class Base<T> { |
| + final List<T> x = <T>[]; |
| +} |
| + |
| +class Foo extends Base<int> { |
| + void test_final_field_generic(t) { |
| + x..add(1)..add(2)..add(3)..add(4); |
| + } |
| +} |