Skip to content

Incremental source generators do not recover from an exception #58625

@sharwell

Description

@sharwell

Version Used: 4.1.0-1.21551.6 (e4419d6)

Steps to Reproduce:

  1. Define an incremental source generator that throws an exception for incomplete code
  2. Use the incremental source generator while writing code

Expected Behavior:

Actual Behavior:

The source generator latches in a non-working state, as reported by #58523.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions