As a data point, Dart uses #ident
- it also has it for operators, so #+
refers to the method defined as operator+
(borrowed from C++), equivalent to our Add::add
.
1 Like
We need to do something like this to ever be able to create new reserved words (necessary for the catch
syntax for example). I think @cuviper’s proposed syntax strikes a good balance between sugar and salt, and the point about r#
or br#
being the only syntaxes that don’t break 1.0 macros seems compelling also.
I’d encourage someone to post an RFC.
1 Like
Ok, I’ll get all the feedback here incorporated and post that soon.
3 Likes
@cuviper Do you have an update on this? We’d love to get an RFC into FCP before the impl block
I apologize for my tardiness, but here it is:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.