Skip to content

Parser: recover on missing interface members - #20105

Open
auduchinok wants to merge 2 commits into
dotnet:mainfrom
auduchinok:parser-interfaceWith
Open

Parser: recover on missing interface members#20105
auduchinok wants to merge 2 commits 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 force-pushed the parser-interfaceWith branch from 7bc2dc5 to 3a148ae Compare July 31, 2026 14:56
@github-actions github-actions Bot added the AI-Tooling-Check-Scanned-Clean Tooling check: diff analyzed, no interesting infrastructure files label Jul 31, 2026
@github-actions github-actions Bot added the ⚠️ Affects-Compiler-Output Tooling check: PR touches IL emission or codegen label 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 ·

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