blob: bb6d3d3548b06d86d01943dd2ea6b35bca1ea81f (
plain) (
blame)
1
2
3
4
5
6
7
|
t1960.scala:2: error: parameter 'vr' requires field but conflicts with variable vr in trait T
class C(vr: Int, vl: Int) extends T { def ref = vr + vl }
^
t1960.scala:2: error: parameter 'vl' requires field but conflicts with value vl in trait T
class C(vr: Int, vl: Int) extends T { def ref = vr + vl }
^
two errors found
|