hare

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

commit 51ab3fb0a32e876426b96d71a790abd6b88a4456
parent e637af05f9dd6211844b9021d2cc0f3d72d29274
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Thu,  6 May 2021 13:09:56 -0400

hare::types::resolver: make rstate nullable

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Mhare/types/+test.ha | 2+-
Mhare/types/store.ha | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hare/types/+test.ha b/hare/types/+test.ha @@ -36,7 +36,7 @@ fn parse_type(in: str) ast::_type = { }; fn resolve( - rstate: *void, + rstate: nullable *void, store: *typestore, expr: const *ast::expr, ) (size | deferred | error) = { diff --git a/hare/types/store.ha b/hare/types/store.ha @@ -8,7 +8,7 @@ export def BUCKETS: size = 65535; // A function which evaluates an [[ast::expr]], providing either a size result // or an error. export type resolver = fn( - rstate: *void, + rstate: nullable *void, store: *typestore, expr: const *ast::expr, ) (size | deferred | error);