Skip to content

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

Merged
vzarytovskii merged 3 commits into
dotnet:mainfrom
auduchinok:parser-synType-expr
Apr 12, 2023
Merged

Parser: recover on missing types in typed-like expressions#15054
vzarytovskii merged 3 commits into
dotnet:mainfrom
auduchinok:parser-synType-expr

Conversation

@auduchinok

@auduchinokauduchinok commented Apr 10, 2023

Copy link
Copy Markdown
Member

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 ownerApril 10, 2023 12:18
@auduchinok

Copy link
Copy Markdown
MemberAuthor

It's ready.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants

@auduchinok@vzarytovskii@T-Gro