Finch/tests/new/fail
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz d428498efd finch.toml, threads and atomics, finch fmt, C++ files, struct #defines, a struct variable given for its ptr
- finch.toml: name, entry, paths, include, links, libdirs, cflags, ldflags, and [target.windows] etc.;
  finch run / build / test with no file use its entry
- import thread: spawn, join, mutex, cpus; atomic_add/sub/load/store/swap/cas built in
- finch fmt [--check]: indentation by { }, trailing spaces, empty lines; also as LSP formatting
- link "x.cpp" (or in finch.toml): built with the C++ compiler, which then links (FINCH_CXX)
- #define RAYWHITE (Color){ 245, 245, 245, 255 } imports as a Color
- push(body) where push takes ptr[Body]: the same as push(addr(body))
- --target android (NDK clang from ANDROID_NDK_HOME, -llog)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GzNP6r8dg6WDxUVZy8wjL
2026-10-29 11:17:10 +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
auto_addr_value.fch finch.toml, threads and atomics, finch fmt, C++ files, struct #defines, a struct variable given for its ptr 2026-10-29 11:17:10 +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