class B { constructor(x: String) {} constructor(x: R) {} } val y8: B = B("")