Skip to content

eqwalize-all panics: contractivity.rs:320 'the stub should exist' (ConversionError(InvalidType)) #214

Description

@Taure

elp eqwalize-all panics on a public OTP-29 rebar3 project, and elp lint on the same repo reports a related erlang-service failure.

Version

elp 1.1.0+build-2026-02-27 (linux x86_64)

Panic

thread '<unnamed>' panicked at crates/eqwalizer/src/ast/contractivity.rs:320:14:
the stub should exist, since expansion validation has already happened: ConversionError(InvalidType)

elp lint additionally reports:

src/banto_dep_audit.erl:1:1-1:1::[Error] [L0002] Could not parse, error: erlang service failed with: exception error: no case clause matching {unsafe,possibly}

which may share a root cause (the file uses the maybe expression).

Repro

git clone https://github.com/Taure/banto
cd banto && rebar3 compile && elp eqwalize-all

OTP 29, rebar3 project, deps include kura/bunko/gakudan/madoguchi (all on github). Happy to bisect to a minimal module if useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions