FIR IDE: Fix buildKtType for ConeDefinitelyNotNullType

This commit is contained in:
Roman Golyshev
2020-09-16 13:17:10 +03:00
committed by Ilya Kirillov
parent 74298aae32
commit dc600e3caf
@@ -201,6 +201,7 @@ internal class KtSymbolByFirBuilder private constructor(
is ConeClassErrorType -> KtFirErrorType(coneType, typeCheckerContext, token)
is ConeFlexibleType -> KtFirFlexibleType(coneType, typeCheckerContext, token, this)
is ConeIntersectionType -> KtFirIntersectionType(coneType, typeCheckerContext, token, this)
is ConeDefinitelyNotNullType -> buildKtType(coneType.original)
else -> TODO(coneType::class.toString())
}
}