You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding that getVar("my-proc") feels really jarring. It's nice for the dynamic case, but I'd like to somehow reference my-proc without getVar...
Rust has a r#ident syntax for restricted keywords:
error: expected identifier, found keyword `else`
--> $DIR/keyword-else-as-identifier.rs:4:9
|
LL | let else = "foo";
| ^^^^ expected identifier, found keyword
|
help: escape `else` to use it as an identifier
|
LL | let r#else = "foo";
| ++
error: aborting due to 1 previous error
Could we extend this so we can write y#my-proc or y#else?
Current ideas are:
y#my-proc or r#my-proc
`my-proc`
The text was updated successfully, but these errors were encountered:
From Zulip: #language-design>Kebab-Case literal syntax
Current ideas are:
y#my-proc
orr#my-proc
The text was updated successfully, but these errors were encountered: