harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6daf57a8e6d1cee99c8834b0067c53ef782bd7cc
parent 4361a31c8aac9e9f0663ced216b6b58af74bda2f
Author: Sebastian <sebastian@sebsite.pw>
Date:   Fri, 29 Apr 2022 23:24:30 -0400

Expand tuple tests

Some mildly cursed code :)

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

Diffstat:
Mtests/21-tuples.ha | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/tests/21-tuples.ha b/tests/21-tuples.ha @@ -10,6 +10,9 @@ fn indexing() void = { assert(x.0.0 == 42); assert(x.0.1 == 69); assert(x.1 == 1337); + assert(x.1z == 1337); + assert(x.0x1 == 1337); + assert(x.1e+0 == 1337); }; fn func(in: (int, size)) (int, size) = (in.0 + 1, in.1 + 1);