mirror of
https://github.com/status-im/nim-ethers.git
synced 2025-02-04 19:44:13 +00:00
Fix for Nim 1.4.x
This commit is contained in:
parent
3e507af8cc
commit
08becf42bf
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user