Files
kotlin/compiler/testData/codegen/light-analysis/reflection/mapping/inlineReifiedFun.txt
Alexander Udalov 49de52e7ef Fix kotlinFunction for inline reified methods in reflection
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
2016-12-16 13:12:41 +03:00

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
}