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

Side by Side Diff: pkg/compiler/lib/src/js_backend/patch_resolver.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months 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
OLDNEW
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 4
5 library dart2js.js_backend.patch_resolver; 5 library dart2js.js_backend.patch_resolver;
6 6
7 import '../common.dart';
7 import '../common/resolution.dart' show 8 import '../common/resolution.dart' show
8 Resolution; 9 Resolution;
9 import '../common/tasks.dart' show 10 import '../common/tasks.dart' show
10 CompilerTask; 11 CompilerTask;
11 import '../compiler.dart' show 12 import '../compiler.dart' show
12 Compiler; 13 Compiler;
13 import '../dart_types.dart'; 14 import '../dart_types.dart';
14 import '../diagnostics/diagnostic_listener.dart' show
15 DiagnosticMessage;
16 import '../diagnostics/invariant.dart' show
17 invariant;
18 import '../diagnostics/messages.dart' show
19 MessageKind;
20 import '../elements/elements.dart'; 15 import '../elements/elements.dart';
21 import '../elements/modelx.dart'; 16 import '../elements/modelx.dart';
22 import '../tree/tree.dart'; 17 import '../tree/tree.dart';
23 18
24 class PatchResolverTask extends CompilerTask { 19 class PatchResolverTask extends CompilerTask {
25 PatchResolverTask(Compiler compiler) : super(compiler); 20 PatchResolverTask(Compiler compiler) : super(compiler);
26 21
27 Resolution get resolution => compiler.resolution; 22 Resolution get resolution => compiler.resolution;
28 23
29 String get name => 'JavaScript patch resolver'; 24 String get name => 'JavaScript patch resolver';
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 'patchParameterCount': patchSignature.optionalParameterCount}); 159 'patchParameterCount': patchSignature.optionalParameterCount});
165 }); 160 });
166 } else { 161 } else {
167 checkMatchingPatchParameters(origin, 162 checkMatchingPatchParameters(origin,
168 originSignature.optionalParameters, 163 originSignature.optionalParameters,
169 patchSignature.optionalParameters); 164 patchSignature.optionalParameters);
170 } 165 }
171 } 166 }
172 167
173 } 168 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698