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 one example in REAME #1794

Merged
merged 1 commit into from Dec 3, 2022
Merged

Fix one example in REAME #1794

merged 1 commit into from Dec 3, 2022

Conversation

Et7f3
Copy link
Contributor

@Et7f3 Et7f3 commented Dec 3, 2022

error: List item 0 has incompatible type "List[bytes]"; expected "Tuple[bytes, bytes]" [list-item]

Linked #998

I just spotted this example because I used it. Maybe other example contains typing mistake. This one should be fine at runtime but the type is more wide so I just fixed it. I didn't typyfied the exemple completely but can if you want.

error: List item 0 has incompatible type "List[bytes]"; expected "Tuple[bytes, bytes]"  [list-item]
@Kludex
Copy link
Sponsor Member

Kludex commented Dec 3, 2022

Thanks @Et7f3 🙏

@Kludex Kludex merged commit 6cf0d1d into encode:master Dec 3, 2022
@Et7f3 Et7f3 deleted the typecheck-example branch December 3, 2022 07:03
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.

None yet

2 participants