[FIR] do not create FirParameter for catch parameter

use FirProperty instead

^KT-55034
This commit is contained in:
Ilya Kirillov
2022-11-18 16:38:15 +01:00
parent 9671e20f1f
commit c8e3103af9
24 changed files with 450 additions and 368 deletions
@@ -2,7 +2,7 @@ FILE: noParameterTypRefInCatch.kt
public? final? fun foo(): R|kotlin/Unit| {
try {
}
catch (e: <ERROR TYPE REF: No type for parameter>) {
catch ([IsCatchParameterProperty=true] e: <ERROR TYPE REF: No type for parameter>) {
}
}