KT-1519: Error calling native extension function from user defined extension function.
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
class A() {
|
||||
|
||||
}
|
||||
|
||||
fun A.one() = 1
|
||||
fun A.two() = one() + one()
|
||||
|
||||
fun box() : Boolean {
|
||||
return (A().two() == 2)
|
||||
}
|
||||
Reference in New Issue
Block a user