From 08becf42bf499bd91e8cd089b66d69853123f8a8 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 2 Feb 2022 17:05:59 +0100 Subject: [PATCH] Fix for Nim 1.4.x --- ethers/fields.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers/fields.nim b/ethers/fields.nim index 42b32ba..389e8bc 100644 --- a/ethers/fields.nim +++ b/ethers/fields.nim @@ -1,6 +1,6 @@ import std/macros -macro fieldValues*(obj: object): tuple = +macro fieldValues*(obj: object): auto = result = newNimNode(nnkTupleConstr) let typ = getTypeImpl(obj) let fields = typ[2]