Intentions: function <-> property conversion
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
class A(val n: Int) {
|
||||
fun <caret>minus(): A = A(-n)
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val t = -A(1)
|
||||
}
|
||||
Reference in New Issue
Block a user