commit 7464aa43415e216616902267608c33cd50808814
parent 684792252543c89d2a50ccb156e09a3a390f9a6d
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 23 Feb 2021 15:10:32 -0500
hare::parse::error: is an error type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hare/parse/types.ha b/hare/parse/types.ha
@@ -1,7 +1,7 @@
use hare::lex;
// All possible error types
-export type error = lex::error;
+export type error = lex::error!;
// Convert an error into a human-friendly string
export fn errstr(err: error) const str = lex::errstr(err: lex::error);