Revert "[FIR] Add ConeAttributes to ConeKotlinType"

This reverts commit f76befa8
This commit is contained in:
Dmitriy Novozhilov
2020-06-26 11:47:08 +03:00
parent 76550d3c5d
commit 0b29a3e5c1
8 changed files with 9 additions and 131 deletions
@@ -14,9 +14,6 @@ import org.jetbrains.kotlin.types.model.SimpleTypeMarker
class ConeIntegerLiteralTypeImpl : ConeIntegerLiteralType {
override val possibleTypes: Collection<ConeClassLikeType>
override val attributes: ConeAttributes
get() = ConeAttributes.Empty
constructor(value: Long, isUnsigned: Boolean, nullability: ConeNullability = ConeNullability.NOT_NULL) : super(value, isUnsigned, nullability) {
possibleTypes = mutableListOf()
@@ -6,15 +6,13 @@
package org.jetbrains.kotlin.fir.types.impl
import org.jetbrains.kotlin.fir.symbols.ConeTypeParameterLookupTag
import org.jetbrains.kotlin.fir.types.ConeAttributes
import org.jetbrains.kotlin.fir.types.ConeTypeProjection
import org.jetbrains.kotlin.fir.types.ConeNullability
import org.jetbrains.kotlin.fir.types.ConeTypeParameterType
class ConeTypeParameterTypeImpl(
override val lookupTag: ConeTypeParameterLookupTag,
isNullable: Boolean,
override val attributes: ConeAttributes = ConeAttributes.Empty
isNullable: Boolean
) : ConeTypeParameterType() {
override val typeArguments: Array<out ConeTypeProjection>
get() = EMPTY_ARRAY