-
Notifications
You must be signed in to change notification settings - Fork 56
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
Clarification on EmptyStatement
#14
Comments
By the way, @sandersn, I've opened a PR on my fork about this first exercise I wanted to know if you could give me feedback. Maybe it's not the best implementation or it's not even what you expected as a result (perhaps I should handle it by creating a new ast node and not filtering undefined values) but I could manage to pass all the tests now. Here it's: imteekay/mini-typescript#2 Thanks! |
Hi @imteekay, I have the same assumption that the On your PR: |
Thanks @kevinramharak . I agree with your comments. @imteekay I'll leave a review on the PR although my overall take is the same as @kevinramharak 's. |
@kevinramharak, thanks for the overview! @sandersn, I made some improvements now using an AST node for the empty statement. I'm still thinking about how to make it work and wanted to ask if there's any relation to the second exercise "Make semicolon a statement ender, not statement separator." or if it's simpler than that. The changes I made remains in the same PR imteekay/mini-typescript#2 |
Now the PR has the full solution imteekay/mini-typescript#2
|
Thanks for all the help guys! Just closing this issue as I merged the PR 🎉 |
Hi @sandersn,
I just wanted to clarify the first exercise "Add
EmptyStatement
".Is an
EmptyStatement
a semicolon in JavaScript/TypeScript (link)? So the idea is to stop the execution of a statement?The text was updated successfully, but these errors were encountered: