IR text tests: Unmute tests that have main function
Don't use `main` function in these tests, because `main` function has specific mangling rules in JVM. Use other function name. ^KT-57755
This commit is contained in:
committed by
Space Team
parent
1759b9e3c4
commit
af247c3344
@@ -1,14 +1,11 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57755 : Fix computing a mangled name for the `main` function
|
||||
|
||||
fun <R : Number> Number.convert(): R = TODO()
|
||||
|
||||
fun foo(arg: Number) {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
fun runMe(args: Array<String>) {
|
||||
val x: Int = 0
|
||||
foo(x.convert())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user