8000 Export: true should cascade on transitive calls · Issue #36 · hauleth/mix_unused · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Export: true should cascade on transitive calls #36
Open
@cando

Description

@cando

Hello,
it would be nice if transitive calls starting from a root function marked as "@export: true" are not maked as unused.
E.g.

defmodule Foo do
  @doc export: true
  def exported do
    used_only_externally()
  end

  def used_only_externally do
    foo()
    bar()
  end

  def foo, do: :ok

  def bar, do: :ok
end

Right now, used_only_externally is marked as unused, but it is not.

Thanks a lot.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0