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

Side by Side Diff: lib/compiler/implementation/elements/elements.dart

Issue 10917163: Fix import, spotted by checked mode. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | no next file » | 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('elements'); 5 #library('elements');
6 6
7 #import('dart:uri'); 7 #import('dart:uri');
8 8
9 #import('../tree/tree.dart'); 9 #import('../tree/tree.dart');
10 #import('../scanner/scannerlib.dart'); 10 #import('../scanner/scannerlib.dart');
11 #import('../leg.dart'); // TODO(karlklose): we only need type. 11 #import('../leg.dart'); // TODO(karlklose): we only need type.
12 #import('../universe/universe.dart');
12 #import('../util/util.dart'); 13 #import('../util/util.dart');
13 14
14 const int STATE_NOT_STARTED = 0; 15 const int STATE_NOT_STARTED = 0;
15 const int STATE_STARTED = 1; 16 const int STATE_STARTED = 1;
16 const int STATE_DONE = 2; 17 const int STATE_DONE = 2;
17 18
18 class ElementCategory { 19 class ElementCategory {
19 /** 20 /**
20 * Represents things that we don't expect to find when looking in a 21 * Represents things that we don't expect to find when looking in a
21 * scope. 22 * scope.
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 1689
1689 MetadataAnnotation ensureResolved(Compiler compiler) { 1690 MetadataAnnotation ensureResolved(Compiler compiler) {
1690 if (resolutionState == STATE_NOT_STARTED) { 1691 if (resolutionState == STATE_NOT_STARTED) {
1691 compiler.resolver.resolveMetadataAnnotation(this); 1692 compiler.resolver.resolveMetadataAnnotation(this);
1692 } 1693 }
1693 return this; 1694 return this;
1694 } 1695 }
1695 1696
1696 String toString() => 'MetadataAnnotation($value, $resolutionState)'; 1697 String toString() => 'MetadataAnnotation($value, $resolutionState)';
1697 } 1698 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698