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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart

Issue 189843003: Reapply "Access to imports in the VM's runtime mirrors. Extend test coverage of the source mirrors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart b/sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart
index 1a808522c32efd373e38c302ca0bd25d1d862ddd..0afbd8e14b633177966a31cae49045eb3579861f 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.dart
@@ -118,7 +118,8 @@ abstract class LibrarySourceMirror
}
/// A mirror on an import or export declaration.
-abstract class LibraryDependencyMirror extends Mirror {
+abstract class LibraryDependencySourceMirror
+ extends Mirror implements LibraryDependencyMirror {
/// Is `true` if this dependency is an import.
bool get isImport;
@@ -133,7 +134,7 @@ abstract class LibraryDependencyMirror extends Mirror {
LibraryMirror get targetLibrary;
/// Returns the prefix if this is a prefixed import and `null` otherwise.
- String get prefix;
+ /*String*/ get prefix;
/// Returns the list of show/hide combinators on the import/export
/// declaration.
@@ -144,9 +145,10 @@ abstract class LibraryDependencyMirror extends Mirror {
}
/// A mirror on a show/hide combinator declared on a library dependency.
-abstract class CombinatorMirror extends Mirror {
+abstract class CombinatorSourceMirror
+ extends Mirror implements CombinatorMirror {
/// The list of identifiers on the combinator.
- List<String> get identifiers;
+ List/*<String>*/ get identifiers;
/// Is `true` if this is a 'show' combinator.
bool get isShow;
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/mirrors/dart2js_library_mirror.dart ('k') | sdk/lib/_internal/lib/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698