Convert to scope function: also convert binary expression
#KT-30228 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
e340af51df
commit
8728bc0820
+15
@@ -0,0 +1,15 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
infix fun foo(x: Any) = A()
|
||||
}
|
||||
|
||||
fun main() {
|
||||
val a = A()
|
||||
a.run {
|
||||
foo(0)
|
||||
foo(0)
|
||||
foo(0) foo 0
|
||||
foo(0)
|
||||
foo(0)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user