Skip to content

feat: parse type variables in function arguments#467

Draft
benbellick wants to merge 2 commits into
mainfrom
feat/type-variables-in-arguments
Draft

feat: parse type variables in function arguments#467
benbellick wants to merge 2 commits into
mainfrom
feat/type-variables-in-arguments

Conversation

@benbellick

Copy link
Copy Markdown
Member

Closes #452

Parse type variables (any1, any2) and integer parameter names (P, S, L)
in function argument types instead of storing raw strings.

- Add TypeVariable struct for any1, any2 references
- Add ParameterizedType for types with unresolved parameters
- Add TypeExpression enum (Concrete | Variable | Parameterized)
- Update ValueArg and TypeArg to use TypeExpression
- Add TypeExprParam::ParameterName for integer parameter names
- Handle nested type variables in containers (List<any1>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

type variables in scalar function signatures

1 participant