23 lines
882 B
Plaintext
Vendored
23 lines
882 B
Plaintext
Vendored
FILE: kotlinSam.kt
|
|
public abstract interface MyRunnable : R|kotlin/Any| {
|
|
public abstract fun foo(x: R|kotlin/Int|): R|kotlin/Boolean|
|
|
|
|
}
|
|
public final fun foo(m: R|MyRunnable|): R|kotlin/Unit| {
|
|
}
|
|
public final fun main(): R|kotlin/Unit| {
|
|
R|/foo|(R|/MyRunnable|(<L> = MyRunnable@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| {
|
|
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
|
}
|
|
))
|
|
R|/foo|(R|/MyRunnable|(MyRunnable@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| {
|
|
^ CMP(>, R|<local>/it|.R|kotlin/Int.compareTo|(Int(1)))
|
|
}
|
|
))
|
|
lval x: R|(kotlin/Int) -> kotlin/Boolean| = fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| {
|
|
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
|
}
|
|
|
|
R|/foo|(R|/MyRunnable|(R|<local>/x|))
|
|
}
|