summary refs log tree commit diff stats
path: root/lib/system/reprjs.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-17 02:14:09 -0700
committerGitHub <noreply@github.com>2021-04-17 11:14:09 +0200
commit7e94420847d2d18347410099e97195ddebe8b85f (patch)
tree667576cbc4d9f7adea5162a256856222b983c6b4 /lib/system/reprjs.nim
parent8e474fbb57c2f7b58a840b5b30230c2267633c8e (diff)
downloadNim-7e94420847d2d18347410099e97195ddebe8b85f.tar.gz
cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744)
Diffstat (limited to 'lib/system/reprjs.nim')
-rw-r--r--lib/system/reprjs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/reprjs.nim b/lib/system/reprjs.nim
index 36972024a..cdc3403f8 100644
--- a/lib/system/reprjs.nim
+++ b/lib/system/reprjs.nim
@@ -200,7 +200,7 @@ proc reprAux(result: var string, p: pointer, typ: PNimType,
     var fp: int
     {. emit: "`fp` = `p`;\n" .}
     add(result, reprStr(cast[string](p)))
-  of tyCString:
+  of tyCstring:
     var fp: cstring
     {. emit: "`fp` = `p`;\n" .}
     if fp.isNil: