fixes #15280 [backport:1.2] (#15281)

* fixes #15280 [backport:1.2]

* make tests green again

* adapt tests
This commit is contained in:
Andreas Rumpf 2020-09-09 14:20:10 +02:00 • committed by GitHub
commit 3f00a738db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 49 additions and 5 deletions

View file

@ -258,7 +258,7 @@ func foo(input: string): int =
try:
parseInt(input)
except:
return
0
func foo2(b, input: string): int =
case b: