Skip to content

Re-evaluate and rationalize how errors are de-duplicated #54343

Open
@pq

Description

@pq

(Follow-on from a discussion in stand-up.)

For more context see #54338 which proposes removing some duplication checks from constant evaluation. The short-term result would be a degraded UX which may not be a good bargain. (The cost is possibly messier code -- though there isn't complete agreement there.) Net-net: in the long run it would be interesting to evaluate other approaches to error de-duplication.

/fyi @kallentu @bwilkerson @scheglov

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestanalyzer-technical-debtarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-uxdevexp-warningIssues with the analyzer's Warning codestype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions