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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/my.prefixed.app.dart

Issue 8359002: Fix libraryDepsVisitor to properly track prefixed library references (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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: compiler/javatests/com/google/dart/compiler/end2end/inc/my.prefixed.app.dart
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/my.prefixed.app.dart b/compiler/javatests/com/google/dart/compiler/end2end/inc/my.prefixed.app.dart
new file mode 100644
index 0000000000000000000000000000000000000000..4efbc6c480d6582982f13ea029225194565cb18f
--- /dev/null
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/my.prefixed.app.dart
@@ -0,0 +1,17 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+#import("some.prefixable.lib.dart", prefix: "prefix");
+
+class Prefix {
+ static final int foo = 43;
+
+ static getSource() {
+ return foo;
+ }
+
+ static getImport() {
+ return prefix.Prefix.foo;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698