Skip to content

Unclear cyclic dependency warning #37

@eksperimental

Description

@eksperimental

Running Gradient in this project.
https://github.com/eksperimental/beam_meta/tree/1de809c6266d9ee877354f8c2b6dd32adc7d4bf9

lib/beam_meta/compatibility/otp_elixir.ex: The pattern %{version: elixir_version, version_requirement: elixir_requirement, otp_versions: otp_versions} on line 138 doesn't have the type any()

lib/beam_meta/compatibility/otp_elixir.ex: The type spec bounded_fun((deep_list -> list()), [{:type, 0, :constraint, [{:atom, 0, :is_subtype}, [{:var, 0, :deep_list}, {:type, 0, :list, [{:type, 0, :union, [{:type, 0, :any, []}, {:var, 0, :deep_list}]}]}]]}]) has a cyclic dependency in variable deep_list

I assume these two are unrelated.
If they are, the second warning gives no clue where this happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds assessment whether a bug, enhancement, duplicate, ...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions