summary refs log tree commit diff stats
path: root/tests/pragmas
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-13 17:27:44 +0200
committerAraq <rumpf_a@web.de>2018-08-13 17:27:44 +0200
commit420ed0596b8114c67275c4702fa3524ebd76e5eb (patch)
treef381eaedb04743a43faa1ded7e5d77ac5952ab3e /tests/pragmas
parentd60bb1b289c7914443a20b78bfb6c69f05184937 (diff)
downloadNim-420ed0596b8114c67275c4702fa3524ebd76e5eb.tar.gz
fixes more nil handling regressions
Diffstat (limited to 'tests/pragmas')
-rw-r--r--tests/pragmas/custom_pragma.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pragmas/custom_pragma.nim b/tests/pragmas/custom_pragma.nim
index 9e8f51deb..d2fc969d0 100644
--- a/tests/pragmas/custom_pragma.nim
+++ b/tests/pragmas/custom_pragma.nim
@@ -2,4 +2,4 @@
 
 template serializationKey*(s: string) {.pragma.}
 template defaultValue*(V: typed) {.pragma.}
-template alternativeKey*(s: string = nil, V: typed) {.pragma.}
\ No newline at end of file
+template alternativeKey*(s: string = "", V: typed) {.pragma.}