[NI] Fix exception on incomplete try/catch block

There was an inconsistency on creating PSI call and corresponding
 descriptor. See variable `catchBlocks` from visitor, it's created
 only if PSI elements are not null, but for descriptor parameters
 there wasn't such check

 #KT-32134 Fixed
 #EA-139748 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-07-01 01:49:13 +03:00
parent 42a5c488c1
commit 515e666733
7 changed files with 48 additions and 8 deletions
@@ -0,0 +1,5 @@
package
public fun test1(): kotlin.Unit
public fun test2(): kotlin.Unit
public fun test3(): kotlin.Unit