tests: add regression test suite; update test fixtures

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5ccf7cb25394bdcae068b49f66787c3a6a6a6964
This commit is contained in:
raf 2026-02-21 22:52:13 +03:00
commit ddfbc91b58
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
12 changed files with 186 additions and 2 deletions

View file

@ -9,8 +9,8 @@ let
# With ellipsis (extra fields allowed)
f3 = { a, ... }: a * 2;
# Named pattern
f4 = arg@{ a, b }: a + b + arg.c;
# Named pattern with ellipsis to allow extra fields
f4 = arg@{ a, b, ... }: a + b + arg.c;
# Simple lambda (not a pattern)
f5 = x: x + 1;