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

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

Issue 2627343004: Revert "Add support for the new function-type syntax." (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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
9 import '../constants/expressions.dart' show ConstantExpression; 10 import '../constants/expressions.dart' show ConstantExpression;
10 import '../constants/values.dart' show ConstantValue; 11 import '../constants/values.dart' show ConstantValue;
11 import '../core_types.dart' show CommonElements; 12 import '../core_types.dart' show CommonElements;
12 import '../elements/resolution_types.dart' show ResolutionDartType, Types; 13 import '../elements/resolution_types.dart' show ResolutionDartType, Types;
13 import '../elements/elements.dart' 14 import '../elements/elements.dart'
14 show 15 show
15 AstElement, 16 AstElement,
16 ClassElement, 17 ClassElement,
17 Element, 18 Element,
18 Entity, 19 Entity,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 if (cls.isPatch) { 251 if (cls.isPatch) {
251 patchParser.parsePatchClassNode(cls); 252 patchParser.parsePatchClassNode(cls);
252 } 253 }
253 }); 254 });
254 } 255 }
255 256
256 @override 257 @override
257 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions( 258 ScannerOptions getScannerOptionsFor(Element element) => new ScannerOptions(
258 canUseNative: backend.canLibraryUseNative(element.library)); 259 canUseNative: backend.canLibraryUseNative(element.library));
259 } 260 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698