Introduce FirFile.fileSession, get rid of most FirElement.session usages

This commit is contained in:
Mikhail Glukhikh
2019-03-19 16:47:27 +03:00
parent 698594b14d
commit c1984d92ff
15 changed files with 51 additions and 49 deletions
@@ -332,7 +332,7 @@ class RawFirBuilder(val session: FirSession, val stubMode: Boolean) {
is KtDelegatedSuperTypeEntry -> {
val type = superTypeListEntry.typeReference.toFirOrErrorType()
container.superTypeRefs += FirDelegatedTypeRefImpl(
type,
session, type,
{ superTypeListEntry.delegateExpression }.toFirExpression("Should have delegate")
)
}