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

Side by Side Diff: pkg/compiler/lib/src/mirrors_used.dart

Issue 1091443003: Move constant systems into their own libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix try/poi/forget_element_test Created 5 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.mirrors_used; 5 library dart2js.mirrors_used;
6 6
7 import 'compile_time_constants.dart' show
8 ConstantCompiler;
7 import 'constants/expressions.dart'; 9 import 'constants/expressions.dart';
8 import 'constants/values.dart' show 10 import 'constants/values.dart' show
9 ConstantValue, 11 ConstantValue,
10 ConstructedConstantValue, 12 ConstructedConstantValue,
11 ListConstantValue, 13 ListConstantValue,
12 StringConstantValue, 14 StringConstantValue,
13 TypeConstantValue; 15 TypeConstantValue;
14 16
15 import 'dart_types.dart' show 17 import 'dart_types.dart' show
16 DartType, 18 DartType,
17 InterfaceType, 19 InterfaceType,
18 TypeKind; 20 TypeKind;
19 21
20 import 'dart2jslib.dart' show 22 import 'dart2jslib.dart' show
21 Compiler, 23 Compiler,
22 CompilerTask, 24 CompilerTask,
23 ConstantCompiler,
24 MessageKind, 25 MessageKind,
25 TreeElements, 26 TreeElements,
26 invariant; 27 invariant;
27 28
28 import 'elements/elements.dart' show 29 import 'elements/elements.dart' show
29 ClassElement, 30 ClassElement,
30 Element, 31 Element,
31 LibraryElement, 32 LibraryElement,
32 MetadataAnnotation, 33 MetadataAnnotation,
33 ScopeContainerElement, 34 ScopeContainerElement,
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 // @MirrorsUsed(targets: fisk) 588 // @MirrorsUsed(targets: fisk)
588 // ^^^^ 589 // ^^^^
589 // 590 //
590 // Instead of saying 'fisk' should pretty print the problematic constant 591 // Instead of saying 'fisk' should pretty print the problematic constant
591 // value. 592 // value.
592 return spannable; 593 return spannable;
593 } 594 }
594 return node; 595 return node;
595 } 596 }
596 } 597 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/resolution/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698