-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use () instead of void #10
Comments
Since |
Indeed, that's going to be the syntax for extractors. Since |
Empty parens reads like a bug to me - this would be a very confusing syntax choice. |
@ljharb, your opinion, disagreeing with mine, is likely to have more clout, so let me add some arguments. Empty parentheses are already used to denote empty But if it won't fly, then maybe |
|
If we are unable to use |
As I've said elsewhere, I think the simple fact that |
That is a different topic than using |
As |
If
void
and_
are both problematic, and no single character alternative reaches consensus, perhaps()
would work? The caseusing () =
needs a lookahead for=
in order to distinguish fromCallExpression
, but it seems much less quirky than what the two main contenders would require so far.The text was updated successfully, but these errors were encountered: