FIR: do not try to calculate annotation call type

Annotation type is used instead
This commit is contained in:
Mikhail Glukhikh
2019-06-17 14:00:45 +03:00
parent ca401cb01d
commit 65d14ff097
6 changed files with 21 additions and 15 deletions
@@ -858,7 +858,6 @@ open class FirBodyResolveTransformer(val session: FirSession, val implicitTypeOn
}
override fun transformAnnotationCall(annotationCall: FirAnnotationCall, data: Any?): CompositeTransformResult<FirStatement> {
annotationCall.resultType = annotationCall.annotationTypeRef
return (annotationCall.transformChildren(this, data) as FirStatement).compose()
}