hare

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

commit 0195dad0ca33edf0f83e0aeb17fca79571dcca91
parent f511ed6de3b5af381756e7cc4d7b2bdbdf3a3dd3
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Tue,  6 Apr 2021 05:06:07 -0400

errors::strerror: fix opaque errors

Diffstat:
Merrors/string.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/errors/string.ha b/errors/string.ha @@ -16,5 +16,5 @@ export fn strerror(err: error) const str = match (err) { noentry => "An entry was requested which does not exist", overflow => "The requested operation caused a numeric overflow condition", unsupported => "The requested operation is not supported", - op: opaque => op.strerror(&op), + op: opaque => op.strerror(&op.data), };