summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-02-05 17:47:08 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-02-06 15:39:56 +0100
commit4686f485a685d0c776a5be20fcaf7ddb997802f8 (patch)
treeda5b8cc5046d3d450a659ab71752b6cd880a0d21 /lib
parent9b44ca17c2343b8df34e8a958a8dd46eea00cdd4 (diff)
downloadNim-4686f485a685d0c776a5be20fcaf7ddb997802f8.tar.gz
cleaner toArray magic
Diffstat (limited to 'lib')
-rw-r--r--lib/phpcl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/phpcl.nim b/lib/phpcl.nim
index 6d7aa0ea6..5eaa00f80 100644
--- a/lib/phpcl.nim
+++ b/lib/phpcl.nim
@@ -31,7 +31,7 @@ proc strtr*(s: string, replacePairs: PhpArray[string, string]): string {.importc
 proc strtr*(s, fromm, to: string): string {.importc.}
 
 proc toArray*[K,V](pairs: openarray[(K,V)]): PhpArray[K,V] {.magic:
-  "Repr".}
+  "Array".}
 template strtr*(s: string, replacePairs: openarray[(string, string)]): string =
   strtr(toArray(replacePairs))