From 38fde80b35d866ca36db680498c0f32936369c7e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 13 Jan 2018 10:57:51 +0100 Subject: [PATCH] strformat: fixes new 'fmt' template --- lib/pure/strformat.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pure/strformat.nim b/lib/pure/strformat.nim index c771343c32..62b095cb1f 100644 --- a/lib/pure/strformat.nim +++ b/lib/pure/strformat.nim @@ -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.} =