hare

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

commit c38a359051ac8b953fd0ec2b60205854ca737462
parent eded54377ae3132185b51b4dfaf96b5192f4fc77
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 11 Apr 2022 17:37:58 +0200

glob: make failure an error type

Signed-off-by: Drew DeVault <sir@cmpwn.com>

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

diff --git a/glob/glob.ha b/glob/glob.ha @@ -36,7 +36,7 @@ export type strstack = struct { }; // Information about an unsuccessful search. -export type failure = struct { +export type failure = !struct { // The path that cannot be opened or read. path: str, // The actual filesystem error.