mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 00:44:27 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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
|
||
| .. | ||
| enum_bad_number.fch | ||
| enum_compare_order.fch | ||
| enum_no_variant.fch | ||
| generic_body_error.fch | ||
| generic_cant_infer.fch | ||
| generic_needs_type.fch | ||
| generic_not_generic.fch | ||
| generic_wrong_count.fch | ||
| match_arm_after_else.fch | ||
| match_arms_differ.fch | ||
| match_missing_variant.fch | ||
| match_needs_else.fch | ||
| match_not_a_variant.fch | ||
| payload_missing.fch | ||