FIR2IR: consider integer literal type as error type
This commit is contained in:
@@ -99,7 +99,7 @@ class Fir2IrTypeConverter(
|
|||||||
intersectedTypes.first().toIrType(typeContext)
|
intersectedTypes.first().toIrType(typeContext)
|
||||||
}
|
}
|
||||||
is ConeStubType -> createErrorType()
|
is ConeStubType -> createErrorType()
|
||||||
is ConeIntegerLiteralType -> getApproximatedType().toIrType(typeContext)
|
is ConeIntegerLiteralType -> createErrorType()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user