summaryrefslogblamecommitdiff
path: root/test/files/pos/t0770.scala
blob: bb438f191810b69a71347ddbe7b6c2c29e60d028 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                               
        








                              
trait A
{
	private[this] val p = 5
	
	def f = (b: Byte) => p
}

trait B
{
	def failure: Boolean
	def success = !failure
}