Disallow extension properties with backing fields
#KT-1682 Fixed
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
package outer
|
||||
|
||||
fun Int?.optint() : Unit {}
|
||||
val Int?.optval : Unit = Unit.VALUE
|
||||
val Int?.optval : Unit get() = Unit.VALUE
|
||||
|
||||
fun <T: Any, E> T.foo(<!UNUSED_PARAMETER!>x<!> : E, y : A) : T {
|
||||
y.plus(1)
|
||||
|
||||
Reference in New Issue
Block a user