summaryrefslogtreecommitdiff
path: root/test/files/neg/t5878.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-01-22 10:34:17 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-11-26 22:34:28 +1000
commiteeeb92c3d59de611dec1782a969b86171454de40 (patch)
treeb36417943cc498e682e9eb0e402bcae06985f4fa /test/files/neg/t5878.scala
parent2ef93ad2fe29766fbe09a3e921ad361b25abdeaf (diff)
downloadscala-eeeb92c3d59de611dec1782a969b86171454de40.tar.gz
scala-eeeb92c3d59de611dec1782a969b86171454de40.tar.bz2
scala-eeeb92c3d59de611dec1782a969b86171454de40.zip
SI-9110 Pattern `O.C` must check `$outer eq O` for a top level O
The outer check was not being generated when the prefix was a top level module. The enclosed test shows that we in fact must synthesize the outer check in that case. Perhaps the bug was introduced by neglecting to consider that a module can inherit member classes.
Diffstat (limited to 'test/files/neg/t5878.scala')
0 files changed, 0 insertions, 0 deletions