FIR: introduce CatchParameterChecker
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d8549d6292
commit
5c0231b727
@@ -0,0 +1,20 @@
|
||||
FILE: catchParameter.kt
|
||||
public final fun <T> test(): R|kotlin/Unit| {
|
||||
try {
|
||||
}
|
||||
catch (e: R|kotlin/NullPointerException| = R|java/lang/NullPointerException.NullPointerException|()) {
|
||||
}
|
||||
|
||||
try {
|
||||
}
|
||||
catch (e: R|T|) {
|
||||
}
|
||||
|
||||
}
|
||||
public final inline fun <reified T> anotherTest(): R|kotlin/Unit| {
|
||||
try {
|
||||
}
|
||||
catch (e: R|T|) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user