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

Side by Side Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Remove obsolete named argument. 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.common.resolution; 5 library dart2js.common.resolution;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../compile_time_constants.dart'; 8 import '../compile_time_constants.dart';
9 import '../compiler.dart' show Compiler;
10 import '../constants/expressions.dart' show ConstantExpression; 9 import '../constants/expressions.dart' show ConstantExpression;
11 import '../constants/values.dart' show ConstantValue; 10 import '../constants/values.dart' show ConstantValue;
12 import '../core_types.dart' show CommonElements; 11 import '../core_types.dart' show CommonElements;
13 import '../dart_types.dart' show DartType, Types; 12 import '../dart_types.dart' show DartType, Types;
14 import '../elements/elements.dart' 13 import '../elements/elements.dart'
15 show 14 show
16 AstElement, 15 AstElement,
17 ClassElement, 16 ClassElement,
18 Element, 17 Element,
19 ExecutableElement, 18 ExecutableElement,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 if (cls.isPatch) { 248 if (cls.isPatch) {
250 patchParser.parsePatchClassNode(cls); 249 patchParser.parsePatchClassNode(cls);
251 } 250 }
252 }); 251 });
253 } 252 }
254 253
255 @override 254 @override
256 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( 255 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions(
257 canUseNative: backend.canLibraryUseNative(element.library)); 256 canUseNative: backend.canLibraryUseNative(element.library));
258 } 257 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart_types.dart » ('j') | pkg/compiler/lib/src/kernel/kernel_visitor.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698