summary refs log tree commit diff stats
path: root/compiler/sem.nim
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-08-27 14:49:32 +0200
committernarimiran <narimiran@disroot.org>2019-08-27 14:49:32 +0200
commit329e169e964951b39cee863dd715277166497213 (patch)
tree1325c32b32b9f4e2a45703a58dbaa54b85ee5c61 /compiler/sem.nim
parentdef623490345e12b12a07efcc37f81d27926f0ec (diff)
downloadNim-329e169e964951b39cee863dd715277166497213.tar.gz
address the comments
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r--compiler/sem.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim
index 119393e25..194f88809 100644
--- a/compiler/sem.nim
+++ b/compiler/sem.nim
@@ -444,6 +444,7 @@ proc semAfterMacroCall(c: PContext, call, macroResult: PNode,
 
 const
   errMissingGenericParamsForTemplate = "'$1' has unspecified generic parameters"
+  errFloatToString = "cannot convert '$1' to '$2'"
 
 proc semMacroExpr(c: PContext, n, nOrig: PNode, sym: PSym,
                   flags: TExprFlags = {}): PNode =