OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 | 4 |
5 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 import 'dart:_foreign_helper' show JS; | 6 import 'dart:_foreign_helper' show JS; |
7 import 'dart:_js_helper' show Creates, setNativeSubclassDispatchRecord; | 7 import 'dart:_js_helper' show Creates, setNativeSubclassDispatchRecord; |
8 import 'dart:_interceptors' show | 8 import 'dart:_interceptors' show |
9 findInterceptorForType, findConstructorForNativeSubclassType; | 9 findInterceptorForType, findConstructorForNativeSubclassType; |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 main() { | 126 main() { |
127 setup(); | 127 setup(); |
128 inscrutable = (x) => x; | 128 inscrutable = (x) => x; |
129 | 129 |
130 setNativeSubclassDispatchRecord(getBBPrototype(), findInterceptorForType(BB)); | 130 setNativeSubclassDispatchRecord(getBBPrototype(), findInterceptorForType(BB)); |
131 | 131 |
132 testSuperOnNative(); | 132 testSuperOnNative(); |
133 testSuperOnSubclassOfNative(); | 133 testSuperOnSubclassOfNative(); |
134 } | 134 } |
OLD | NEW |