| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 library pop_pop_win.game_web; | |
| 5 | 4 |
| 6 import 'platform_web.dart'; | 5 // Regression test for issue 19728. |
| 7 import 'package:pop_pop_win/pop_pop_win.dart'; | 6 |
| 7 class C<T extends dynamic> { |
| 8 T field; |
| 9 |
| 10 test() { |
| 11 field = 0; |
| 12 int i = field; |
| 13 } |
| 14 } |
| 8 | 15 |
| 9 void main() { | 16 void main() { |
| 10 startGame(new PlatformWeb()); | 17 new C().test(); |
| 11 } | 18 } |
| OLD | NEW |