aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/t1131.scala
blob: f4a7b377d98a4b71f9debab3c12423dc89db64d1 (plain) (tree)
1
2
3
4



                                                                 
trait A { self: Any { def p: Any } =>
  def f(b: => Unit): Unit = {}
  f { p } // error: cannot access member 'p' from structural type
}