blob: 7239f4406eebaf4ffcfa0d08319ed21a3e365ab1 (
plain) (
blame)
1
2
3
4
|
t2144.scala:2: error: Parameter type in structural refinement may not refer to an abstract type defined outside that refinement
def foo[A](a: A) = new { def bar(x: A): A = x }
^
one error found
|