hare

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

commit b341269c9aeb2e86f6be8c4eccba732844f1f6a8
parent 3e156307174d18e17a60a65a18e7ec40cf7a40fb
Author: Autumn! <autumnull@posteo.net>
Date:   Wed, 15 Mar 2023 02:26:44 +0000

strconv: mark strconv::error as an error type

Signed-off-by: Autumn! <autumnull@posteo.net>

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

diff --git a/strconv/types.ha b/strconv/types.ha @@ -12,7 +12,7 @@ export type invalid = !size; export type overflow = !void; // Any error which may be returned from a strconv function. -export type error = (invalid | overflow); +export type error = !(invalid | overflow); // The valid numeric bases for numeric conversions. export type base = enum uint {