aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-25 21:45:20 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-25 21:45:20 +0100
commit5a039031c165fd9116749f28e9d9e6a0b6d5b0e6 (patch)
tree0a0b956ad7d384cf31a8d2b7835fe716c33d2834 /src/dotty/tools/dotc/core/SymDenotations.scala
parent27a508c50482f4053591ed740f09ecced5bf749b (diff)
downloaddotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.tar.gz
dotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.tar.bz2
dotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.zip
More fixes to classfile reading.
Can now read entire contents of scala distribution.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index dc2502092..fc702b85e 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -570,7 +570,7 @@ object SymDenotations {
*/
def typeConstructor(implicit ctx: Context): TypeRef =
if ((this is PackageClass) || owner.isTerm) symbolicRef
- else TypeRef(owner.thisType, name.asTypeName)
+ else TypeRef(owner.thisType, name.asTypeName).withDenot(this)
/** The symbolic typeref representing the type constructor for this type.
* @throws ClassCastException is this is not a type