blob: 311477b7d2f1bfddc111d71ca5860267c6ac5b56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// TODO: fix AME when this runs in REPL
import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = """
trait B { val y = "a" }
trait T extends B { val x: y.type = y }
println((new T{}).x)
"""
}
|