diff options
author | Martin Odersky <odersky@gmail.com> | 2013-10-23 12:34:45 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-10-23 12:35:57 +0200 |
commit | b94874635483b2864aabd86140e51e7bdd916b40 (patch) | |
tree | 0031b7fe6a641814fddbe0ba2f968571441c1411 /src/dotty/tools/dotc/core/StdNames.scala | |
parent | 70958808202aa27034961aeb3352bd8af2e45312 (diff) | |
download | dotty-b94874635483b2864aabd86140e51e7bdd916b40.tar.gz dotty-b94874635483b2864aabd86140e51e7bdd916b40.tar.bz2 dotty-b94874635483b2864aabd86140e51e7bdd916b40.zip |
Caching asSeenFrom on denotations.
The last asSeenFrom on a SingleDenotation is cached.
Also, correction of effectiveOwner in SymDenotation, which needs to understand that module classes now end in a "$".
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/StdNames.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index b5f776e13..e10758810 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -110,6 +110,7 @@ object StdNames { val NAME_JOIN: N = NameTransformer.NAME_JOIN_STRING val USCORE_PARAM_PREFIX: N = "_$" val PACKAGE: N = "package" + val PACKAGE_CLS: N = "package$" val PROTECTED_PREFIX: N = "protected$" val PROTECTED_SET_PREFIX: N = PROTECTED_PREFIX + "set" val ROOT: N = "<root>" |