SLC: force boxed return type when needed

e.g., when overriding a function whose return type is not primitive

^KT-57579 Fixed
This commit is contained in:
Jinseong Jeon
2023-03-26 00:30:38 -07:00
committed by Dmitrii Gridin
parent 19dbe69651
commit 1b3b554084
6 changed files with 44 additions and 5 deletions
@@ -2,10 +2,10 @@ public final class C /* C*/ implements Tr {
private final int v;
@java.lang.Override()
public int foo();// foo()
public java.lang.Integer foo();// foo()
@java.lang.Override()
public int getV();// getV()
public java.lang.Integer getV();// getV()
public C();// .ctor()
}