[FIR] Replace kotlin/Throwable with java/lang/Throwable in JvmMappedScope
#KT-39044 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// FULL_JDK
|
||||
// ISSUE: KT-39044
|
||||
|
||||
fun test(t: Throwable) {
|
||||
t.fillInStackTrace()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
FILE: fillInStackTrace.kt
|
||||
public final fun test(t: R|kotlin/Throwable|): R|kotlin/Unit| {
|
||||
R|<local>/t|.R|java/lang/Throwable.fillInStackTrace|()
|
||||
}
|
||||
+5
@@ -108,6 +108,11 @@ public class FirDiagnosticsWithStdlibTestGenerated extends AbstractFirDiagnostic
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/factoryFunctionOverloads.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fillInStackTrace.kt")
|
||||
public void testFillInStackTrace() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/fillInStackTrace.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionAndFunctionN.kt")
|
||||
public void testFunctionAndFunctionN() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/functionAndFunctionN.kt");
|
||||
|
||||
Reference in New Issue
Block a user