aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-19 11:00:53 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:28:30 +0100
commit40202eedb940d0614c08b1ba36c8648ed56ea332 (patch)
tree854a3b4e88bb06384d9e65a1eb853136ca903f1c /src/dotty/tools/dotc/core/Types.scala
parent7e51434b89659c49a1cd755c224cc5ca270b82b3 (diff)
downloaddotty-40202eedb940d0614c08b1ba36c8648ed56ea332.tar.gz
dotty-40202eedb940d0614c08b1ba36c8648ed56ea332.tar.bz2
dotty-40202eedb940d0614c08b1ba36c8648ed56ea332.zip
Fix of t1280 - type of self
The type of self name "x" was taken to be the thisType of the current owner. But the current owner was a local dummy of the class in question, so the ThisType was NoPrefix. Inserting an enclosingClass fixes the problem.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
0 files changed, 0 insertions, 0 deletions