make memoization test compile again

This commit is contained in:
Andreas Rumpf
2018-04-29 08:00:45 +02:00
parent aeca422dbe
commit 16b0bf6cca

View File

@@ -8,7 +8,7 @@ import strutils
proc foo(s: static[string]): string =
static: echo s
const R = s.toUpper
const R = s.toUpperAscii
return R
echo foo("test 1")