diff options
author | Martin Odersky <odersky@gmail.com> | 2014-08-26 14:53:42 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-08-26 14:53:42 +0200 |
commit | 08c6eacaf59386ed26aeead472e1df2c5944a3fb (patch) | |
tree | dff3e1c4ae4d1f1b62e4e3509231f9a5f16024ed /src/dotty/tools/dotc/printing/PlainPrinter.scala | |
parent | 97d89afc4769c4badb42284c9b5d97b663f870f6 (diff) | |
download | dotty-08c6eacaf59386ed26aeead472e1df2c5944a3fb.tar.gz dotty-08c6eacaf59386ed26aeead472e1df2c5944a3fb.tar.bz2 dotty-08c6eacaf59386ed26aeead472e1df2c5944a3fb.zip |
thisType of a module class is a term ref to the source module.
Module classes now always get the sourceModule term ref as their this type.
We would like to eliminate ThisType() of a module class completely, as this
hangs on to a symbol which might become stale for globally accessible modules.
This commit is the first step. It contains the change to thisType and the necessary
fixes to make the test suite pass.
Diffstat (limited to 'src/dotty/tools/dotc/printing/PlainPrinter.scala')
0 files changed, 0 insertions, 0 deletions