-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Is your feature request related to a problem? Please describe.
Now that #19943 is merged, calling ToString() on an OrSelector will return a string that can't be parsed back into a selector. This is not ideal.
Describe the solution you'd like
(Button.large, Button.small):focus should be parse-able.
Not only does this fix the problem above, but it's also a nice new feature.
It would be great if Button.(large, small):focus is parse-able as well. My intuition tells me that this will be difficult. If this is possible, then it might be nice if the ToString() method is able to optimally position the braces, e.g. Button.(large, small):focus instead of (Button.large, Button.small):focus.
Describe alternatives you've considered
No response
Additional context
I might try implementing this at some point, but I'm not sure when I'll have the time, so I'm creating an issue so that there's no duplicate effort if someone else opens a PR.