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:
parent
9faaa2094d
commit
a2012a5afe
7 changed files with 10045 additions and 9933 deletions
5
changes/test-generics.md
Normal file
5
changes/test-generics.md
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue