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

Side by Side Diff: pkg/compiler/lib/src/native/behavior.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
« no previous file with comments | « pkg/compiler/lib/src/mirrors_used.dart ('k') | pkg/compiler/lib/src/native/enqueue.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) 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 import '../common.dart'; 5 import '../common.dart';
6 import '../common/backend_api.dart' show ForeignResolver; 6 import '../common/backend_api.dart' show ForeignResolver;
7 import '../common/resolution.dart' show ParsingContext, Resolution; 7 import '../common/resolution.dart' show ParsingContext, Resolution;
8 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
11 import '../core_types.dart' show CommonElements; 11 import '../core_types.dart' show CommonElements;
12 import '../dart_types.dart'; 12 import '../elements/resolution_types.dart';
13 import '../elements/elements.dart'; 13 import '../elements/elements.dart';
14 import '../js/js.dart' as js; 14 import '../js/js.dart' as js;
15 import '../js_backend/js_backend.dart'; 15 import '../js_backend/js_backend.dart';
16 import '../tree/tree.dart'; 16 import '../tree/tree.dart';
17 import '../universe/side_effects.dart' show SideEffects; 17 import '../universe/side_effects.dart' show SideEffects;
18 import '../util/util.dart'; 18 import '../util/util.dart';
19 import 'enqueue.dart'; 19 import 'enqueue.dart';
20 import 'js.dart'; 20 import 'js.dart';
21 21
22 typedef dynamic /*DartType|SpecialType*/ TypeLookup(String typeString); 22 typedef dynamic /*DartType|SpecialType*/ TypeLookup(String typeString);
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 type = lookupType(typeString.substring(0, index)); 1006 type = lookupType(typeString.substring(0, index));
1007 if (type != null) { 1007 if (type != null) {
1008 // TODO(sra): Parse type parameters. 1008 // TODO(sra): Parse type parameters.
1009 return type; 1009 return type;
1010 } 1010 }
1011 reporter.reportErrorMessage(spannable, MessageKind.GENERIC, 1011 reporter.reportErrorMessage(spannable, MessageKind.GENERIC,
1012 {'text': "Type '$typeString' not found."}); 1012 {'text': "Type '$typeString' not found."});
1013 return const DynamicType(); 1013 return const DynamicType();
1014 } 1014 }
1015 } 1015 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/mirrors_used.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698