summaryrefslogtreecommitdiff
path: root/test/files/neg/volatile.check
blob: b904284125e36047816962a1ef1a5c4ad346bdf7 (plain) (blame)
1
2
3
4
5
6
7
volatile.scala:11: error: Inferred type C.this.D with C.this.E#T contains type selection from volatile type C.this.D with C.this.E
   var sneak = { () => y.x }
                         ^
volatile.scala:11: error: Inferred type () => C.this.D with C.this.E#T contains type selection from volatile type C.this.D with C.this.E
   var sneak = { () => y.x }
                    ^
two errors found