Skip to content

Conversation

@hendi
Copy link

@hendi hendi commented May 13, 2020

Running dialyzer results in

The inferred type for the 1st argument is not a
supertype of the expected type for the handle/2 callback
in the Slax.Parser behaviour.

Success type:
%Slax.Event.Characters{_ => _}

Behaviour callback type:
tuple()

This fixes this, by changing the behaviour to the appropriate types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant