bug fixes

This commit is contained in:
2026-07-12 10:13:19 +02:00
parent cff9e9500f
commit b0c716537e
14 changed files with 847 additions and 106 deletions
+14 -3
View File
@@ -732,12 +732,23 @@
- deferred: build graph / steps / caching, multiple artifacts, computed paths
(needs string building), struct field defaults to drop `&[]` on empty lists
29. basic `std/arraylist` implementation using the new `std/mem` typed allocation
29. fix bugs (implemented)
- `return _` was already the supported empty return for void functions; the original
bare-`return` report was stale
- catch value blocks may end by returning from the function instead of yielding when
every path exits
- implicit-conversion diagnostics render source-level composite and named types instead
of internal `<type N>` ids
- aliases resolve transparently in value contexts, including composed enum/union sums
- final open-constant defaults feed one last inference fixpoint before stale
specializations are pruned
30. disallow arbitrary integer division
30. basic `std/arraylist` implementation using the new `std/mem` typed allocation
31. disallow arbitrary integer division
- take inspiration from zig
- see also below for a word on unchecked casts
- the user should be explicit about what they mean with integer division (e.g. `div`, `rem`)
- the user should be explicit about what they mean with integer division (e.g. `div`, `rem`, `trunc`)
## A word on unchecked casts