Skip to content
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

Figure out a way to handle whitespaces more strictly #146

Closed
tohrnii opened this issue Feb 14, 2023 · 2 comments
Closed

Figure out a way to handle whitespaces more strictly #146

tohrnii opened this issue Feb 14, 2023 · 2 comments
Labels

Comments

@tohrnii
Copy link
Contributor

tohrnii commented Feb 14, 2023

Currently, the following statements are equivalent:

let x = a[0]
let x = a   [0]

and

let x = a
[0]

Ideally, only the first one should be valid.

Originally proposed by @bobbinth in #123 (comment)

@bobbinth
Copy link
Contributor

Maybe we can just add semi-colons to address this.

@bobbinth
Copy link
Contributor

Largely closed by #353. The only outstanding thing is adding commas to separate arms of the match statement.

sydhds will open a PR for this soon.

@bobbinth bobbinth added this to the AirScript v0.4 milestone Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants