summaryrefslogtreecommitdiff
path: root/libstd/try.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
commit9fa7e376e33410e78fda13897bf8e0914f201ddf (patch)
treec3e1e6f004c5ee96712770153a6a267592ecf223 /libstd/try.myr
parent99bd0e314a7050f7ac4ae2c33207be08aa5c4507 (diff)
downloadmc-9fa7e376e33410e78fda13897bf8e0914f201ddf.tar.gz
Remove status arg from fatal.
We never set it to anything other than '1' anyways. There's no standardized error codes, so the exit status isn't really useful in any case.
Diffstat (limited to 'libstd/try.myr')
-rw-r--r--libstd/try.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstd/try.myr b/libstd/try.myr
index 1539a98..2997143 100644
--- a/libstd/try.myr
+++ b/libstd/try.myr
@@ -8,6 +8,6 @@ pkg std =
generic try = {v
match v
| `Some x: -> x
- | `None: fatal(1, "expected `Some @a, got `None\n")
+ | `None: fatal("expected `Some @a, got `None\n")
;;
}