diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-21 10:22:07 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-21 10:22:07 +0100 |
commit | 7f0637ce073131d8603c567329885e4443cd48d5 (patch) | |
tree | f94fa7e704b901d51fec272176090e174ffbb106 /src/dotty/tools/backend/jvm/DottyBackendInterface.scala | |
parent | 5c7617b006fe4446a105b3db4916956a92826304 (diff) | |
download | dotty-7f0637ce073131d8603c567329885e4443cd48d5.tar.gz dotty-7f0637ce073131d8603c567329885e4443cd48d5.tar.bz2 dotty-7f0637ce073131d8603c567329885e4443cd48d5.zip |
Make This and Super take idents as qualifier/mixin
The qualifier of a This and the mixin of a Super were names, which meant
that their positions were lost. Now they are untyped idents.
Diffstat (limited to 'src/dotty/tools/backend/jvm/DottyBackendInterface.scala')
-rw-r--r-- | src/dotty/tools/backend/jvm/DottyBackendInterface.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index 03c4315fe..a7c449947 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -973,7 +973,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma } object This extends ThisDeconstructor { - def get = field.qual + def get = field.qual.name def apply(s: Symbol): This = tpd.This(s.asClass) } @@ -1020,7 +1020,7 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma } object Super extends SuperDeconstructor { def _1: Tree = field.qual - def _2: Name = field.mix + def _2: Name = field.mix.name } object ArrayValue extends ArrayValueDeconstructor { def _1: Type = field.tpe match { |