Index: runtime/lib/mirrors_patch.dart |
diff --git a/runtime/lib/mirrors_patch.dart b/runtime/lib/mirrors_patch.dart |
index d66ce8245c6ec9b7a7ab3fd397835fb932ce0949..2e2da5ba8923e29c34cff9b8c4bc23904c1a7499 100644 |
--- a/runtime/lib/mirrors_patch.dart |
+++ b/runtime/lib/mirrors_patch.dart |
@@ -36,7 +36,7 @@ import "dart:_internal" as internal; |
} |
@patch class MirrorSystem { |
- /* @patch */ LibraryMirror findLibrary(Symbol libraryName) { |
+ @patch LibraryMirror findLibrary(Symbol libraryName) { |
var candidates = |
libraries.values.where((lib) => lib.simpleName == libraryName); |
if (candidates.length == 1) { |
@@ -50,11 +50,11 @@ import "dart:_internal" as internal; |
throw new Exception("There is no library named '${getName(libraryName)}'"); |
} |
- /* @patch */ static String getName(Symbol symbol) { |
+ @patch static String getName(Symbol symbol) { |
return internal.Symbol.getUnmangledName(symbol); |
} |
- /* @patch */ static Symbol getSymbol(String name, [LibraryMirror library]) { |
+ @patch static Symbol getSymbol(String name, [LibraryMirror library]) { |
if ((library != null && library is! _LocalLibraryMirror) || |
((name.length > 0) && (name[0] == '_') && (library == null))) { |
throw new ArgumentError(library); |