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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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.dart';
8 import '../common/resolution.dart' show Resolution; 8 import '../common/resolution.dart' show Resolution;
9 import '../common/tasks.dart' show CompilerTask; 9 import '../common/tasks.dart' show CompilerTask;
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
11 import '../dart_types.dart'; 11 import '../elements/resolution_types.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../elements/modelx.dart'; 13 import '../elements/modelx.dart';
14 import '../tree/tree.dart'; 14 import '../tree/tree.dart';
15 15
16 class PatchResolverTask extends CompilerTask { 16 class PatchResolverTask extends CompilerTask {
17 final Compiler compiler; 17 final Compiler compiler;
18 PatchResolverTask(Compiler compiler) 18 PatchResolverTask(Compiler compiler)
19 : compiler = compiler, 19 : compiler = compiler,
20 super(compiler.measurer); 20 super(compiler.measurer);
21 21
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'originParameterCount': originSignature.optionalParameterCount, 171 'originParameterCount': originSignature.optionalParameterCount,
172 'patchParameterCount': patchSignature.optionalParameterCount 172 'patchParameterCount': patchSignature.optionalParameterCount
173 }); 173 });
174 }); 174 });
175 } else { 175 } else {
176 checkMatchingPatchParameters(origin, originSignature.optionalParameters, 176 checkMatchingPatchParameters(origin, originSignature.optionalParameters,
177 patchSignature.optionalParameters); 177 patchSignature.optionalParameters);
178 } 178 }
179 } 179 }
180 } 180 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/namer.dart ('k') | pkg/compiler/lib/src/js_backend/type_variable_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698