12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
fun doSomething<T>(a: T) {}
|
|
|
|
fun test() {
|
|
class Test {
|
|
fun plus(): Test = Test()
|
|
fun plus(a: Test): Test = Test()
|
|
fun minus(): Test = Test()
|
|
}
|
|
val test = Test()
|
|
doSomething((-(+(test + test))).toString())
|
|
}
|