aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos
diff options
context:
space:
mode:
authorOndrej Lhotak <olhotak@uwaterloo.ca>2014-10-30 17:08:22 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-11-22 20:10:22 +0100
commitf1602ab22bf0b26d2e68bf564e6f53271a5707d2 (patch)
tree35444ea6482e855aafa5add1c43d310ad30416ca /tests/pending/pos
parent44ae00661116be3158f0c3dec94fb9a1951f7895 (diff)
downloaddotty-f1602ab22bf0b26d2e68bf564e6f53271a5707d2.tar.gz
dotty-f1602ab22bf0b26d2e68bf564e6f53271a5707d2.tar.bz2
dotty-f1602ab22bf0b26d2e68bf564e6f53271a5707d2.zip
For Java constructors, do not move out to ctx.outer
A Java constructor needs to see the import of the companion object of the class. It is not necessary to move to an outer context because a Java constructor does not have an implementation. scalac also does it this way: see Namers.Namer.createNamer.isConstrParam.
Diffstat (limited to 'tests/pending/pos')
0 files changed, 0 insertions, 0 deletions