diff options
Diffstat (limited to 'tests/errmsgs/t12844.nim')
-rw-r--r-- | tests/errmsgs/t12844.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/errmsgs/t12844.nim b/tests/errmsgs/t12844.nim index 999d26255..a274b72b4 100644 --- a/tests/errmsgs/t12844.nim +++ b/tests/errmsgs/t12844.nim @@ -1,9 +1,9 @@ discard """ cmd: "nim check $file" -errormsg: "cannot assign template 'z' to 'y'. Did you mean to call the template with '()'?" +errormsg: "invalid type: 'template (args: varargs[string])' for var. Did you mean to call the template with '()'?" nimout: ''' -t12844.nim(11, 11) Error: cannot assign template 'z' to 'x'. Did you mean to call the template with '()'? -t12844.nim(12, 9) Error: cannot assign template 'z' to 'y'. Did you mean to call the template with '()'?''' +t12844.nim(11, 7) Error: invalid type: 'template (args: varargs[string])' for const. Did you mean to call the template with '()'? +t12844.nim(12, 5) Error: invalid type: 'template (args: varargs[string])' for var. Did you mean to call the template with '()'?''' """ template z*(args: varargs[string, `$`]) = |