Skip to content

Conversation

@tecosaur
Copy link
Member

@tecosaur tecosaur commented Feb 1, 2024

Just the where {F <: Function} change should be enough to correct type
inference in theory, but Base.return_type still gave Any with just
that change, so we're also adding a type assertion to the write method.

Just the "where {F <: Function}" change should be enough to correct type
inference in theory, but Base.return_type still gave "Any" with just
that change, so we're also adding a type assertion to the write method.
@tecosaur tecosaur merged commit a1b2ae2 into main Feb 1, 2024
@tecosaur tecosaur deleted the fix-write-type-inference branch February 1, 2024 12:53
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