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

Unified Diff: sdk/lib/_internal/lib/mirrors_patch.dart

Issue 24631003: Add proper API for creating private symbols wrt a library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/lib/mirrors_patch.dart
diff --git a/sdk/lib/_internal/lib/mirrors_patch.dart b/sdk/lib/_internal/lib/mirrors_patch.dart
index 47009848c8972607cc5cc8db586f282668da300d..0a1f74b8f5ad51352a208762ba1cd7b7db6c89e3 100644
--- a/sdk/lib/_internal/lib/mirrors_patch.dart
+++ b/sdk/lib/_internal/lib/mirrors_patch.dart
@@ -8,6 +8,9 @@ import 'dart:_js_mirrors' as js;
patch class MirrorSystem {
patch static String getName(Symbol symbol) => js.getName(symbol);
+ patch static Symbol getSymbol(String name, [LibraryMirror lib]) {
+ throw new UnimplementedError("MirrorSystem.getSymbol not implemented");
+ }
}
patch MirrorSystem currentMirrorSystem() => js.currentJsMirrorSystem;

Powered by Google App Engine
This is Rietveld 408576698