diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Scopes.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Scopes.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Scopes.scala b/compiler/src/dotty/tools/dotc/core/Scopes.scala index 032442421..023fe35c5 100644 --- a/compiler/src/dotty/tools/dotc/core/Scopes.scala +++ b/compiler/src/dotty/tools/dotc/core/Scopes.scala @@ -396,10 +396,10 @@ object Scopes { class PackageScope extends MutableScope { override final def newScopeEntry(name: Name, sym: Symbol)(implicit ctx: Context): ScopeEntry = - super.newScopeEntry(name.toSimpleName, sym) + super.newScopeEntry(name.mangled, sym) override final def lookupEntry(name: Name)(implicit ctx: Context): ScopeEntry = - super.lookupEntry(name.toSimpleName) + super.lookupEntry(name.mangled) } /** Create a new scope */ |