Allow any case for u suffix
#KT-24663 In Progress
This commit is contained in:
+1
-1
@@ -969,7 +969,7 @@ private class ConstantExpressionEvaluatorVisitor(
|
||||
}
|
||||
|
||||
private fun hasLongSuffix(text: String) = text.endsWith('l') || text.endsWith('L')
|
||||
private fun hasUnsignedSuffix(text: String) = text.endsWith('u')
|
||||
private fun hasUnsignedSuffix(text: String) = text.endsWith('u') || text.endsWith('U')
|
||||
|
||||
private fun parseNumericLiteral(text: String, type: IElementType): Any? {
|
||||
val canonicalText = LiteralFormatUtil.removeUnderscores(text)
|
||||
|
||||
Reference in New Issue
Block a user