aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/NameOps.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-29 22:00:49 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:11 +0200
commitae694957bfb9f5121eee3434243ecaabb6b24d1d (patch)
tree53e233273c74ba4a5e1d9c5cede3c367e5b2b9d3 /compiler/src/dotty/tools/dotc/core/NameOps.scala
parentb595a98a5b51f3b328f1d69e6afc56f19129666d (diff)
downloaddotty-ae694957bfb9f5121eee3434243ecaabb6b24d1d.tar.gz
dotty-ae694957bfb9f5121eee3434243ecaabb6b24d1d.tar.bz2
dotty-ae694957bfb9f5121eee3434243ecaabb6b24d1d.zip
Fix inner class name table emission with semantic names
The backend contains: val outerName = innerClassSym.rawowner.javaBinaryName // Java compatibility. See the big comment in BTypes that summarizes the InnerClass spec. val outerNameModule = if (innerClassSym.rawowner.isTopLevelModuleClass) outerName.dropModule Where `dropModule` is defined in the backend interface as: def dropModule: Name = n.stripModuleClassSuffix This will only work as expected if `javaBinaryName` returns a name with proper semantic information, but before this commit we just used the output of `fullNameSeparated` which contains no semantic information.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/NameOps.scala')
0 files changed, 0 insertions, 0 deletions