| 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 library mirror_system_helper; | 5 library mirror_system_helper; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'
; | 8 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'
; |
| 9 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirro
r.dart'; | 9 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirro
r.dart'; |
| 10 import 'mock_compiler.dart'; | 10 import 'mock_compiler.dart'; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 if (expected.length != types.length) return false; | 130 if (expected.length != types.length) return false; |
| 131 Iterator<TypeMirror> expectedIterator = expected.iterator; | 131 Iterator<TypeMirror> expectedIterator = expected.iterator; |
| 132 Iterator<TypeMirror> typesIterator = types.iterator; | 132 Iterator<TypeMirror> typesIterator = types.iterator; |
| 133 while (expectedIterator.moveNext() && typesIterator.moveNext()) { | 133 while (expectedIterator.moveNext() && typesIterator.moveNext()) { |
| 134 if (!check(expectedIterator.current, typesIterator.current)) { | 134 if (!check(expectedIterator.current, typesIterator.current)) { |
| 135 return false; | 135 return false; |
| 136 } | 136 } |
| 137 } | 137 } |
| 138 return true; | 138 return true; |
| 139 } | 139 } |
| OLD | NEW |