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
verify_trait_constraint is only called for method calls currently, leading to trait constraints from other sources (variable references, and function calls namely) never being verified.
Expected Behavior
foo(a, b) verifies any trait constraints required by foo are valid.
Bug
If foo(a, b) requires a trait constraint with no matching impl, the compiler will panic during monomorphization.
To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Aim
verify_trait_constraint
is only called for method calls currently, leading to trait constraints from other sources (variable references, and function calls namely) never being verified.Expected Behavior
foo(a, b)
verifies any trait constraints required by foo are valid.Bug
If
foo(a, b)
requires a trait constraint with no matching impl, the compiler will panic during monomorphization.To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: