Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: dart/tests/compiler/dart2js/mirror_system_helper.dart

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/io/string_transformer.dart ('k') | dart/tests/compiler/dart2js/mirrors_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698