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

Unified Diff: dart/lib/compiler/implementation/elements/elements.dart

Issue 11184046: Clean up leg.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on CL 11187067 Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: dart/lib/compiler/implementation/elements/elements.dart
diff --git a/dart/lib/compiler/implementation/elements/elements.dart b/dart/lib/compiler/implementation/elements/elements.dart
index 457cbd6b7ca27cff502161cfe6de012aee930111..6b77e71cf8e89f271c65f71ebc54af64846f58de 100644
--- a/dart/lib/compiler/implementation/elements/elements.dart
+++ b/dart/lib/compiler/implementation/elements/elements.dart
@@ -2,17 +2,29 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library('elements');
+library elements;
-#import('dart:uri');
+import 'dart:uri';
// TODO(ahe): Rename prefix to 'api' when VM bug is fixed.
-#import('../../compiler.dart', prefix: 'api_e');
-#import('../tree/tree.dart');
-#import('../scanner/scannerlib.dart');
-#import('../leg.dart'); // TODO(karlklose): we only need type.
-#import('../universe/universe.dart');
-#import('../util/util.dart');
+import '../../compiler.dart' as api_e;
+import '../tree/tree.dart';
+import '../dart2jslib.dart' show invariant,
+ InterfaceType,
+ DartType,
+ TypeVariableType,
+ TypedefType,
+ MessageKind,
+ DiagnosticListener,
+ Script,
+ FunctionType,
+ SourceString,
+ Selector,
+ Constant,
+ Compiler;
+import '../scanner/scannerlib.dart' show Token, EOF_TOKEN;
+import '../util/util.dart';
+import '../resolution/resolution.dart';
const int STATE_NOT_STARTED = 0;
const int STATE_STARTED = 1;
« no previous file with comments | « dart/lib/compiler/implementation/dart_backend/dart_backend.dart ('k') | dart/lib/compiler/implementation/js/js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698