* fixes #10200 * add rule for other comparison operators * add rule for '!=' * add test * fixed to pass the test
This commit is contained in:
parent
8546393ddb
commit
a990afcedc
3 changed files with 14 additions and 1 deletions
|
|
@ -360,3 +360,9 @@ foobar
|
|||
|
||||
# bug #9673
|
||||
discard `* `(1, 2)
|
||||
|
||||
proc fun4() =
|
||||
var a = "asdf"
|
||||
var i = 0
|
||||
while i<a.len and i<a.len:
|
||||
return
|
||||
|
|
|
|||
|
|
@ -369,3 +369,9 @@ foobar
|
|||
|
||||
# bug #9673
|
||||
discard `*`(1, 2)
|
||||
|
||||
proc fun4() =
|
||||
var a = "asdf"
|
||||
var i = 0
|
||||
while i < a.len and i < a.len:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue