[low level api] fix ISE: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl for CheckDslScopeViolation

This commit is contained in:
Ilya Kirillov
2022-05-09 21:42:01 +02:00
parent 9801a21abb
commit 6e0eba7e00
3 changed files with 17 additions and 10 deletions
@@ -45,6 +45,12 @@ abstract class FirBasedSymbol<E : FirDeclaration> {
return fir.annotations
}
val resolvedAnnotationsWithClassIds: List<FirAnnotation>
get() {
ensureResolved(FirResolvePhase.TYPES)
return fir.annotations
}
val resolvedAnnotationClassIds: List<ClassId>
get() {
ensureResolved(FirResolvePhase.TYPES)