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
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.
The text was updated successfully, but these errors were encountered:
Some items need to have information about the possible kind of the type parameters they accept. For instance, the following function:
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.
The text was updated successfully, but these errors were encountered: