Confusing error message when not using parametric substitution correctly #30
Labels
D-accepted
A decision (D) has been made and the issue will be worked on
I-bug
This issue (I) regards a (potential) bug in the project
T-accepted
Triage (T): Initial review accepted issue/PR as valid
Situation:
When trying to use parametric substitution but forgetting to encapsulate the argument to a parametrized identifier in
[]
, the resulting error message is confusing.Reproduction:
A simple example is to try and create a duplicate with and without
&
:Expected Behavior:
An error message pointing out that the argument to
refs
is not encapsulated in[]
.Actual Behavior:
The error message:
Affected Versions:
Only tested on 0.3.0
Local Environment:
Using default features
Miscellaneous:
The text was updated successfully, but these errors were encountered: