FIR2IR: consider integer literal type as error type

This commit is contained in:
Mikhail Glukhikh
2020-04-22 16:20:08 +03:00
parent 205f29128a
commit ab79e60b63
@@ -99,7 +99,7 @@ class Fir2IrTypeConverter(
intersectedTypes.first().toIrType(typeContext)
}
is ConeStubType -> createErrorType()
is ConeIntegerLiteralType -> getApproximatedType().toIrType(typeContext)
is ConeIntegerLiteralType -> createErrorType()
}
}