Allow synonyms for 'w and 's lifetimes#8235
Conversation
QUESTION: Where should this be located?
|
Note that this was brought up due to #8201. But I don't know if they should depend on each or whatever is the best decision. |
|
One problem that I tried to solve, which may be beyond this PR, is that |
joseph-gio
left a comment
There was a problem hiding this comment.
Thank you for implementing this, I've been meaning to get around to it for a while now.
One concern I have is that allowing so many different synonyms of 's might make the situation more confusing -- I think we should agree on one of the options, and then only allow that one name, or the first letter of it.
Co-authored-by: JoJoJet <21144246+JoJoJet@users.noreply.github.com>
Moved tests simplified tests.
|
Sure! I'll leave that to other reviewers :) |
|
After thinking about it a bit, my preference for the name of the |
Objective
The lifetimes
'wand'sare confusing.Solution
One way to solve it by is by adding the ability to name the lifetimes different things depending on the context.
This was suggested by @maniwani here #8201 (comment)
Decide if there should be added synonyms for these traits / types:
SystemParam.ParamSet?Query?Tasks:
SystemParamregression tests #8270 for the tests.