strformat: fixes new 'fmt' template

This commit is contained in:
Andreas Rumpf
2018-01-13 10:57:51 +01:00
parent 430a6c481e
commit 38fde80b35

View File

@@ -417,6 +417,7 @@ template fmt*(pattern: string): untyped =
##
## let example = "oh, look no conflicts anymore"
## echo fmt"{example}"
bind `%`
%pattern
proc mkDigit(v: int, typ: char): string {.inline.} =