-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)A-type-systemArea: Type systemArea: Type system
Milestone
Description
Some items need to have information about the possible kind of the type parameters they accept. For instance, the following function:
fn vec1[copy T](&T x) -> vec[T] { ret vec(x); }
The typechecker should check that kind constraints are satisfied whenever type arguments are actually applied to items. Middle-end should make sure to use the kind constraint when calculating the kind of a type-parameter type.
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)A-type-systemArea: Type systemArea: Type system