hare

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

commit f65ef50516241f48bd876a594614fb6cd6599dde
parent 2cd13841e985749538e0e397f5953a68b9a100aa
Author: Sebastian <sebastian@sebsite.pw>
Date:   Wed, 13 Apr 2022 20:38:19 -0400

ast: fix outdated docs

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/ast/type.ha | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hare/ast/type.ha b/hare/ast/type.ha @@ -50,7 +50,7 @@ export type func_param = struct { _type: *_type, }; -// fn(foo: int, ..., baz: ...int) int +// fn(foo: int, baz: int...) int export type func_type = struct { result: *_type, attrs: func_attrs, @@ -112,7 +112,7 @@ export type struct_type = []struct_member; // union { ... } export type union_type = []struct_member; -// (int | bool, ...) +// (int | bool) export type tagged_type = []*_type; // (int, bool, ...)