mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Instead of manually inspecting the DOUBLE_COLON_LHS slice, which is a bit more error-prone. Note that new tests were passing before this change
10 lines
252 B
Kotlin
Vendored
10 lines
252 B
Kotlin
Vendored
class Foo {
|
|
fun bar(): String {
|
|
return ::bar.name
|
|
}
|
|
}
|
|
|
|
// We can avoid loading (and then immediately popping) implicit "this" when generating intrinsified bytecode for KCallable.name
|
|
// because this can't have any side effects
|
|
// 0 POP
|