Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Allow common keywords such as const, await, async, etc. #405

Open
MrCoder opened this issue Nov 21, 2022 · 0 comments
Open

Allow common keywords such as const, await, async, etc. #405

MrCoder opened this issue Nov 21, 2022 · 0 comments

Comments

@MrCoder
Copy link
Contributor

MrCoder commented Nov 21, 2022

const order = await OrderRepository.createOrder()

When users use the above line, const is parsed as a participant; await is parsed as a method. For those very common keywords, we should at least allow them.

We should send them to a TYPE channel or ASYNC_CHANNEL (or METHOD_MODIFIER?).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant