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
{{ message }}
Repository navigation
Add unit tests for nested generic type grammar #393
split_top_level_generic_args and parse_type in front/parser/src/parser/types.rs handle nested generic, pointer, array, and qualified type spellings. They have no focused unit-test suite even though imports and generic monomorphization depend on them.
Scope
Add positive tests for nested ptr, array, qualified names, and multiple generic arguments.
Add negative tests for empty arguments, unbalanced chevrons, invalid array lengths, extra commas, and trailing garbage.
Assert the exact TokenType or WaveType representation.
Do not redesign type syntax.
Likely files
front/parser/src/parser/types.rs
A new parser test module
Completion criteria
Nested and qualified types are covered.
Malformed nesting and separators return None without panic.
Existing primitive and custom type behavior is preserved.
Activity
Fix frontend contracts and native regression tests (#723)