Skip to content

mix xref unreachable ignores aliases when --no-compile option is used #5045

@dm1try

Description

@dm1try

Environment

  • Elixir version (elixir -v): 1.3.2

Current behavior

$ mix xref unreachable             
lib/some.ex:10: Logger.unreachable/1

$ mix xref unreachable --no-compile
lib/some.ex:10: Logger.unreachable/1
lib/some.ex:11: AliasedModule.start_link/2

AliasedModule is reachable

Expected behavior

Aliases or any other information that was received on the latest compilation should not be ignored.
Or the --no-compile flag should be removed from shared options of xref command. See mix help xref

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