You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add class-level generic constraints, subtype check for generic parents, and iterator fixes
- Parse constraints in class sign parameters: @Class Foo<T: Button>
now stores T's constraint (extends) for display and future use
- Add doc.generic.name to child map in guide.lua so constraint
types are walked by the compiler
- Auto-bind class-level generics to methods via post-pass in bindDocs,
so methods without @Generic inherit their class's type parameters
- Fix subtype check for generic class parents: Child : Parent<T> is
now recognized as subtype of Parent (handles doc.type.sign extends)
- Fix V[] matching T[] in iterator resolution when T is a generic name
(direct assignment bypassing resolve() filter)
- Add tests for isearch/ipairs with T[] field types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments