Skip to content

Analyzer: Disallow including the same part in multiple libraries in the same program #33227

@askeksa-google

Description

@askeksa-google

Motivated by the discussion in #32999 we want to make it a compile-time error if a file is used as a part in more than one library in the same program.

The implementation of the check for this in Fasta is covered by #32999 and the spec change by #33225 - this issue covers the implementation in the analyzer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.dart-model-analyzer-specIssues with the analyzer's implementation of the language spectype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions