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]