hare

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

commit c92881e5b8444d332635e95ea6ede13c2483ade9
parent 29b20e5f79532b77469eb85ad5f82aacc3940966
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Fri, 13 Aug 2021 10:57:19 +0000

all: fix too-small tuple values

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

Diffstat:
Mhash/crc16/crc16.ha | 2+-
Mhash/crc64/crc64.ha | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hash/crc16/crc16.ha b/hash/crc16/crc16.ha @@ -226,7 +226,7 @@ export fn sum16(h: *hash::hash) u16 = { @test fn crc16() void = { const vectors: [](str, u16, u16, u16, u16) = [ - ("", 0, 0, 0), + ("", 0, 0, 0, 0), ("Always be sincere, even if you don't mean it. -- Harry Truman", 0x38DF, 0x2441, 0x8E44, 0xEF5E), ("You get along very well with everyone except animals and people.", diff --git a/hash/crc64/crc64.ha b/hash/crc64/crc64.ha @@ -264,8 +264,8 @@ export fn sum64(h: *hash::hash) u64 = { }; @test fn crc64() void = { - const vectors: [](str, u64, u64, u64) = [ - ("", 0, 0, 0), + const vectors: [](str, u64, u64) = [ + ("", 0, 0), ("Man can believe the impossible, but can never believe the improbable. -- Oscar Wilde", 0x17F71EF3BB851DC7, 0xD0E8ED57865D6AC6), ("We learn from history that we do not learn from history. -- Georg Hegel",