hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit af6b65f4ebb44a2bca97ab162828ec59904756a8
parent fa019f19dde73b783173d54078f9c981754f2cf9
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 30 Jan 2021 16:16:13 -0500

abort_fixed: update OOM language

Diffstat:
Mrt/+linux/abort.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/abort.ha b/rt/+linux/abort.ha @@ -10,7 +10,7 @@ export @noreturn @symbol("rt.abort") fn _abort(msg: str) void = { const reasons: [3]str = [ "slice or array access out of bounds", // 0 "type assertion failed", // 1 - "allocation failed", // 2 + "out of memory", // 2 ]; export @noreturn fn abort_fixed(i: int) void = _abort(reasons[i]);