Index: runtime/lib/mirrors_impl.dart |
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart |
index 9ec13b330bfacc7dd596744191fdda1dc18de29c..9826ce4b3e3a9e6fc24fd72e6034362464c2bf63 100644 |
--- a/runtime/lib/mirrors_impl.dart |
+++ b/runtime/lib/mirrors_impl.dart |
@@ -1217,7 +1217,8 @@ class _LocalMethodMirrorImpl extends _LocalDeclarationMirrorImpl |
'Internal error in MethodMirror.constructorName: ' |
'malformed name <$simpleName>'); |
} else if (parts.length == 2) { |
- _constructorName = _s(parts[1]); |
+ LibraryMirror definingLibrary = owner.owner; |
+ _constructorName = MirrorSystem.getSymbol(parts[1], definingLibrary); |
} else { |
_constructorName = _s(''); |
} |