makes 'reject' tests green
This commit is contained in:
parent
c0a3d44060
commit
3560827a28
8 changed files with 27 additions and 13 deletions
|
|
@ -1,6 +1,7 @@
|
|||
discard """
|
||||
line: 24
|
||||
errormsg: "usage of 'disallowIf' is a user-defined error"
|
||||
disabled: true
|
||||
"""
|
||||
|
||||
template optZero{x+x}(x: int): int = x*3
|
||||
|
|
@ -25,4 +26,4 @@ if s[0] != "hi":
|
|||
echo "do it"
|
||||
echo "more branches"
|
||||
else:
|
||||
nil
|
||||
discard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue