From 0926754e68861947c67986bc9c7e0a011a58267b Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 5 Jul 2018 15:51:04 +0200 Subject: make tests green again --- tests/discard/tdiscardable.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/discard') diff --git a/tests/discard/tdiscardable.nim b/tests/discard/tdiscardable.nim index 662d2725a..f979b29c9 100644 --- a/tests/discard/tdiscardable.nim +++ b/tests/discard/tdiscardable.nim @@ -13,7 +13,7 @@ q[float](0.8, 0.2) # bug #942 -template maybeMod(x: Tinteger, module:Natural): untyped = +template maybeMod(x: SomeInteger, module: Natural): untyped = if module > 0: x mod module else: x -- cgit 1.4.1-2-gfad0