Skip to content

Commit 98b00b0

Browse files
authored
use try instead of deprecated catch (#49)
1 parent f2e9e77 commit 98b00b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/core-extras.kk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fun pretend-not-reachable(?kk-file-line: string): b
1818

1919
pub fun no-effect-top(a: () -> pure a, ?kk-file-line: string): a
2020
with pretend-no-div
21-
catch(a) fn(err)
21+
try(a) fn(err)
2222
impossible(err.show)
2323

2424
pub fun list/and(l: list<bool>): bool

0 commit comments

Comments
 (0)