make tvarargsuntyped test deterministic, independent of compiler's hashing order

This commit is contained in:
Araq 2016-12-13 08:32:30 +01:00
commit 5c6a4d9e90

View file

@ -9,7 +9,8 @@ discard """
import macros import macros
proc internalBar(top, left, width, height: cint, s: string, x, y: int, r,g,b: int) = proc internalBar(top, left, width, height: cint, s: string, x, y: int, r,g,b: int) =
echo locals() echo "(left: ", left, ", r: ", r, ", x: ", x, ", height: ", height, ", s: ", s,
", width: ", width, ", y: ", y, ", top: ", top, ", g: ", g, ", b: ", b, ")"
# we need these dummy constructors due to the wrong implementation # we need these dummy constructors due to the wrong implementation
# of 'varargs[untyped]' in the compiler: # of 'varargs[untyped]' in the compiler: