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

Parser: recover on missing types in typed-like expressions #15054

Merged
merged 3 commits into from
Apr 12, 2023

Conversation

auduchinok
Copy link
Member

@auduchinok auduchinok commented Apr 10, 2023

Adds recovery for expressions with missing types like e:, e :>, and e :?>.

In some cases type parsing seems to have precedence and subsequent nodes are parsed as unfinished types. That can be improved in both LexFilter and the parser separately.

@auduchinok auduchinok requested a review from a team as a code owner April 10, 2023 12:18
@auduchinok auduchinok force-pushed the parser-synType-expr branch from 740fad8 to e93d23e Compare April 11, 2023 12:08
@auduchinok auduchinok force-pushed the parser-synType-expr branch from e93d23e to e90ec17 Compare April 12, 2023 10:06
@auduchinok
Copy link
Member Author

It's ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants