fixes #10963, disallow implicit mixing of strings and ints/floats (#11292)

This commit is contained in:
Miran 2019-05-21 21:32:37 +02:00 • committed by Andreas Rumpf
commit bab5e30972
6 changed files with 25 additions and 17 deletions

View file

@ -111,7 +111,7 @@ proc cgFormatValue(result: var string; value: string): void =
result.add value
proc cgFormatValue(result: var string; value: BiggestInt): void =
result.add value
result.addInt value
# TODO: please document
macro ropecg(m: BModule, frmt: static[FormatStr], args: untyped): Rope =