diff --git a/stint/private/uint_mul.nim b/stint/private/uint_mul.nim index 0bd1329..4554c11 100644 --- a/stint/private/uint_mul.nim +++ b/stint/private/uint_mul.nim @@ -82,7 +82,7 @@ func extPrecAddMul(result: var UintImpl[uint64], u, v: uint64) = macro eqSym(x, y: untyped): untyped = let eq = $x == $y # Unfortunately eqIdent compares to string. - result = quote do: `eq` + result = newLit eq func extPrecAddMul[T](result: var UintImpl[UintImpl[T]], u, v: UintImpl[T]) func extPrecMul*[T](result: var UintImpl[UintImpl[T]], u, v: UintImpl[T])