mirror of
https://github.com/tsoding/boomer
synced 2024-11-18 09:28:37 +00:00
Merge pull request #37 from tsoding/experiment
Try to remove typed from parseObject
This commit is contained in:
commit
53293f68d4
@ -15,7 +15,7 @@ const defaultConfig* = Config(
|
||||
fps: 60
|
||||
)
|
||||
|
||||
macro parseObject(obj: typed, key, val: string): typed =
|
||||
macro parseObject(obj: typed, key, val: string) =
|
||||
result = newNimNode(nnkCaseStmt).add(key)
|
||||
for c in obj.getType[2]:
|
||||
let a = case c.getType.typeKind
|
||||
|
Loading…
Reference in New Issue
Block a user