summaryrefslogtreecommitdiff
path: root/test/files/neg/t6336.check
blob: f6b35ad2326f607efe4ca6770c394afcbe5b7ae4 (plain) (blame)
1
2
3
4
t6336.scala:3: error: Parameter type in structural refinement may not refer to a user-defined value class
    val a = new { def y[T](x: X[T]) = x.i }
                      ^
one error found