mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
Inline functions with reified type parameters are generated as private (see AsmUtil.specialCaseVisibility), so we should treat them as "declared" in reflection to look them up via getDeclaredMethod, not getMethod #KT-14721 Fixed
12 lines
330 B
Plaintext
Vendored
12 lines
330 B
Plaintext
Vendored
public final class Foo {
|
|
public method <init>(): void
|
|
private final method h(p0: java.lang.Object): int
|
|
}
|
|
|
|
|
|
public final class InlineReifiedFunKt {
|
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
|
private final static method f(): int
|
|
public final static method g(): void
|
|
}
|