Remove validate_param
method
#1646
Labels
assembly
Related to Miden assembly
enhancement
New feature or request
good first issue
Good for newcomers
The
validate_param
method doesn't produce a nice error message since it doesn't include a span & source. Therefore, the user is left with aparameter value must be greater than or equal to {min} and less than or equal to {max}, but was {value}
error message, without knowing what parameter the error refers to.We should change all methods that use
validate_param()
in a manner similar to how #1640 did it.The text was updated successfully, but these errors were encountered: