Finch/tests/new/fail
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz f2d6480749 const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module
- const NAME = value (numbers, text, other constants; typed: const f32 G = 9.8), also module.NAME
- x := if c { a } else { b }
- """ ... """: the closing quotes' indentation goes from every line
- min, max, abs, clamp for any numbers, unless your own function has the name
- import ui/button (a module in a folder), import path as p
- fs: read_bytes, write_bytes, exists, is_dir, mkdir (with parents), list, remove_dir, data_dir(app)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GzNP6r8dg6WDxUVZy8wjL
2026-10-29 09:37:41 +01:00
..
after_exit.fch Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits) 2026-10-29 09:14:58 +01:00
const_assign.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
const_call.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
const_loop.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +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
ifvalue_else.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
ifvalue_types.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
import_clash.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +01:00
longstr_indent.fch const, if as a value, """ text over several lines, min/max/abs/clamp, import a/b and import x as y, the fs module 2026-10-29 09:37:41 +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
union_two_fields.fch C import: unions (SDL_Event) and their fields; #defines that are expressions, casts or text; typedef'd structs no function mentions; FLAG_A | FLAG_B fits a u64 2026-10-29 09:23:29 +01:00