make more tests green

This commit is contained in:
Andreas Rumpf 2018-08-13 13:02:52 +02:00
commit 975114e114
5 changed files with 19 additions and 19 deletions

View file

@ -1,6 +1,6 @@
template makeDomElement(x: untyped, name: string = nil) =
const tag {.gensym.} = if name == nil: astToStr(x) else: name
template makeDomElement(x: untyped, name: string = "") =
const tag {.gensym.} = if name.len == 0: astToStr(x) else: name
proc x*(p: int|float) =
echo tag, p