Fix minor compile warnings
This commit is contained in:
@@ -47,7 +47,6 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
|
||||
" if (isEmpty()) -1 else (31 * (31 * first + last) + step)"
|
||||
LONG ->
|
||||
" if (isEmpty()) -1 else (31 * (31 * ${hashLong("first")} + ${hashLong("last")}) + ${hashLong("step")}).toInt()"
|
||||
else -> throw IllegalArgumentException()
|
||||
}
|
||||
|
||||
out.println(
|
||||
|
||||
@@ -371,7 +371,6 @@ class UnsignedTypeGenerator(val type: UnsignedType, out: PrintWriter) : BuiltIns
|
||||
UnsignedType.UBYTE, UnsignedType.USHORT -> out.println("toInt().toString()")
|
||||
UnsignedType.UINT -> out.println("toLong().toString()")
|
||||
UnsignedType.ULONG -> out.println("ulongToString(data)")
|
||||
else -> error(type)
|
||||
}
|
||||
|
||||
out.println()
|
||||
|
||||
Reference in New Issue
Block a user