Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dialyzer issues with Floki.text/1 #437

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

davydog187
Copy link
Contributor

If you pass a node directly, you'll get an error like

The function call will not succeed.

Floki.text(_block :: {<<_::8>>, binary() | [{binary(), binary()}], [any()]})

breaks the contract
(html_tree() | binary()) :: binary()

If you pass a node directly, you'll get an error like

```
The function call will not succeed.

Floki.text(_block :: {<<_::8>>, binary() | [{binary(), binary()}], [any()]})

breaks the contract
(html_tree() | binary()) :: binary()
```
@philss philss merged commit c43db1e into philss:main Nov 17, 2022
@philss
Copy link
Owner

philss commented Nov 17, 2022

@davydog187 thank you! 💜

@davydog187
Copy link
Contributor Author

Thanks for the fast merge @philss !

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.

2 participants