diff options
author | Clyybber <darkmine956@gmail.com> | 2020-10-24 11:45:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 11:45:18 +0200 |
commit | d4022ebe53062a7e1be5fd55637a3cce39b93a12 (patch) | |
tree | d0e3aaa974054e48e3acd7954e44ed52d9f14ea2 /tests/casestmt | |
parent | bf894ad3ebdd393a13b0ff69f5c7a221270639a7 (diff) | |
download | Nim-d4022ebe53062a7e1be5fd55637a3cce39b93a12.tar.gz |
Revert "fixes #15280 [backport:1.2] (#15281)" (#15700)
This reverts commit 3f00a738dbc8319b4dd2b86bf5529c096f2dd243.
Diffstat (limited to 'tests/casestmt')
-rw-r--r-- | tests/casestmt/tcasestmt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/casestmt/tcasestmt.nim b/tests/casestmt/tcasestmt.nim index 2151892aa..53cccdb64 100644 --- a/tests/casestmt/tcasestmt.nim +++ b/tests/casestmt/tcasestmt.nim @@ -258,7 +258,7 @@ func foo(input: string): int = try: parseInt(input) except: - 0 + return func foo2(b, input: string): int = case b: |