From 764f002e7318edd0c9fe397aa5e429b16fbb5464 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 22 Jan 2026 17:11:38 +0800 Subject: [PATCH] Update compiler/lexer.nim --- compiler/lexer.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/lexer.nim b/compiler/lexer.nim index aa06ca2d12..769987ba8f 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -316,7 +316,7 @@ proc getNumber(L: var Lexer, result: var Token) = L.bufpos = msgPos lexMessage(L, msgKind, msg % t.literal) - proc checkBitWidth(L: var Lexer, base: TNumeralBase, tokType: TokType, + proc checkBitWidth(L: var Lexer, base: NumericalBase, tokType: TokType, numDigits: int, startpos: int) = # Check bit width for non-base-10 literals # Warn if the digit count exceeds what can fit in the target type