| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // VMOptions=-DUSE_CPS_IR=true | |
| 5 | 4 |
| 6 // Tests of interceptors. | 5 // Tests of interceptors. |
| 7 | 6 |
| 8 library constructor_test; | 7 library constructor_test; |
| 9 | 8 |
| 10 import 'js_backend_cps_ir.dart'; | 9 import 'js_backend_cps_ir.dart'; |
| 11 | 10 |
| 12 const List<TestEntry> tests = const [ | 11 const List<TestEntry> tests = const [ |
| 13 const TestEntry.forMethod('generative_constructor(Sub#)', """ | 12 const TestEntry.forMethod('generative_constructor(Sub#)', """ |
| 14 class Base { | 13 class Base { |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 }""", r""" | 264 }""", r""" |
| 266 function() { | 265 function() { |
| 267 V.B$(5, P.$int).get$typevar(); | 266 V.B$(5, P.$int).get$typevar(); |
| 268 return null; | 267 return null; |
| 269 }"""), | 268 }"""), |
| 270 ]; | 269 ]; |
| 271 | 270 |
| 272 void main() { | 271 void main() { |
| 273 runTests(tests); | 272 runTests(tests); |
| 274 } | 273 } |
| OLD | NEW |