mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 06:23:25 +00:00
strformat: fixes new 'fmt' template
This commit is contained in:
@@ -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.} =
|
||||
|
||||
Reference in New Issue
Block a user