| Index: dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart
|
| index cd2608ab347ac0ca15bfbe1f5f2a467e80b83f97..dda7d3db3e087d5075e8c1740cc14e0792194f11 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/lib/mirrors_patch.dart
|
| @@ -5,6 +5,7 @@
|
| // Patch library for dart:mirrors.
|
|
|
| import 'dart:_foreign_helper' show JS;
|
| +import "dart:_collection-dev" as _symbol_dev;
|
|
|
| // Yeah, seriously: mirrors in dart2js are experimental...
|
| const String _MIRROR_OPT_IN_MESSAGE = """
|
| @@ -25,8 +26,7 @@ bool _mirrorsEnabled = false;
|
|
|
| patch class MirrorSystem {
|
| patch static String getName(Symbol symbol) {
|
| - throw new UnimplementedError('MirrorSystem.getName is not yet implemented '
|
| - 'in dart2js');
|
| + return _symbol_dev.Symbol.getName(symbol);
|
| }
|
| }
|
|
|
|
|