Potential fix for some random errors about "cannot choose between equals invoke functions".
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package bar
|
||||
|
||||
@Suppress("REDECLARATION")
|
||||
val foo: Int = 6
|
||||
|
||||
operator fun Int.invoke() = this
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(foo())
|
||||
}
|
||||
Reference in New Issue
Block a user