Handle for (i in a until Int.MIN_VALUE) corner case by adding

an additional "not empty" condition produced by the UntilHandler.
This commit is contained in:
Mark Punzalan
2019-03-19 23:16:09 -07:00
committed by max-kammerer
parent 7b153b2b68
commit 8e1be5424f
7 changed files with 71 additions and 13 deletions
@@ -282,6 +282,9 @@ fun IrBuilderWithScope.irInt(value: Int) =
fun IrBuilderWithScope.irLong(value: Long) =
IrConstImpl.long(startOffset, endOffset, context.irBuiltIns.longType, value)
fun IrBuilderWithScope.irChar(value: Char) =
IrConstImpl.char(startOffset, endOffset, context.irBuiltIns.charType, value)
fun IrBuilderWithScope.irString(value: String) =
IrConstImpl.string(startOffset, endOffset, context.irBuiltIns.stringType, value)