fix(test): a generic function called from a test block works

Test blocks were never type-checked, and the checker is what makes a
generic call real; they are checked like entry now. Reseed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 04:46:08 +03:00
parent 9faaa2094d
commit a2012a5afe
7 changed files with 10045 additions and 9933 deletions

5
changes/test-generics.md Normal file
View file

@ -0,0 +1,5 @@
bump: patch
type: fix
**A generic function called from a `test` block works.** Test blocks were never type-checked, and
the checker is what makes a generic call real, so `q_new()` inside a test was "unknown function".
They are checked like `entry` now - which also means a type error in a test is reported.