Skip to content

Parser: recover on missing interface members - #20105

Open
auduchinok wants to merge 1 commit into
dotnet:mainfrom
auduchinok:parser-interfaceWith
Open

Parser: recover on missing interface members#20105
auduchinok wants to merge 1 commit into
dotnet:mainfrom
auduchinok:parser-interfaceWith

Conversation

@auduchinok

@auduchinok auduchinok commented Jul 31, 2026

Copy link
Copy Markdown
Member

Adds recovery for missing interface members, like the following:

type T =
    interface I with

Fixes the whole file parsing could be broken while adding a new interface implementation:
Screenshot 2026-07-30 at 18 57 35

@auduchinok
auduchinok requested a review from a team as a code owner July 31, 2026 14:41
@auduchinok
auduchinok force-pushed the parser-interfaceWith branch from 7bc2dc5 to 3a148ae Compare July 31, 2026 14:56
@github-actions github-actions Bot added AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files ⚠️ Affects-Compiler-Output Tooling check: PR touches IL emission or codegen labels Jul 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Tooling Safety Check — Affects-Compiler-Output
Affects-Compiler-Output: modifies pars.fsy and FSComp.txt (parser rules, diagnostics)

Generated by PR Tooling Safety Check · opus46 3M ·

@auduchinok
auduchinok force-pushed the parser-interfaceWith branch from 984f5cf to 2500179 Compare July 31, 2026 21:47
@auduchinok
auduchinok force-pushed the parser-interfaceWith branch from 2500179 to 18bd7c3 Compare July 31, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Affects-Compiler-Output Tooling check: PR touches IL emission or codegen AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant