Skip to content

Target selection loops when asking for non-existing things #5095

Closed
@phadej

Description

@phadej

E.g. in cabal repository

% cabal new-build foo:tests
cabal: Internal error in target matching. It should always be possible to find
a syntax that's sufficiently qualified to give an unambiguous match. However
when matching 'foo:tests' we found foo:tests (unknown-component) which does
not have an unambiguous syntax. The possible syntax and the targets they match
are as follows:
cabal: <<loop>>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions