Add testcase for some old fixed issues (#14960)

* Add testcase for #2703

* Add testcase for #2586

* Small fix
This commit is contained in:
Clyybber 2020-07-10 19:21:50 +02:00 • committed by GitHub
commit 425972c4e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -11,6 +11,8 @@ hey
foo
foo
foo
false
true
'''
"""
@ -266,3 +268,9 @@ iterator hello() : int {.closure.} =
foof(int)
ggg(hello)
# bug #2586
var z = 10'u8
echo z < 9 # Works
echo z > 9 # Error: type mismatch