[FIR IDE] Correctly check declarations' modalities in SamResolver

Modality might be null before the declaration itself is resolved to
`STATUS`

^KT-52667 Fixed
This commit is contained in:
Roman Golyshev
2022-06-07 16:34:44 +04:00
committed by teamcity
parent 3abcd84802
commit 8fca9f41eb
5 changed files with 254 additions and 7 deletions
@@ -1,5 +1,4 @@
// FIR_IDENTICAL
// FIR_IDE_IGNORE
// TODO: KT-50732
// ISSUE: KT-51007