Finch/tests/new/fail
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 3e45b62812 Enums whose variants hold values
enum Shape { Circle(float), Rect(float, float), Point }; Shape.Circle(2.0) makes one, match names the values
(Circle(r), _ to ignore), exhaustive like plain enums, printing shows Rect(2, 3.5). Underneath it is a struct (tag +
every variant's values), so copying, freeing, methods and valgrind-cleanliness come with it. Also: stray note files removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015f73FesGZGYPkmDvUcj6QX
2026-10-26 00:18:53 +01:00
..
enum_bad_number.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
enum_compare_order.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
enum_no_variant.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
generic_body_error.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
generic_cant_infer.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
generic_needs_type.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
generic_not_generic.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
generic_wrong_count.fch generics (in the compiler written in Finch) 2026-10-25 20:53:13 +01:00
match_arm_after_else.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
match_arms_differ.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
match_missing_variant.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
match_needs_else.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
match_not_a_variant.fch enums and match (in the compiler written in Finch) 2026-10-25 20:49:04 +01:00
payload_missing.fch Enums whose variants hold values 2026-10-26 00:18:53 +01:00