Skip to content

Conversation

odow
Copy link
Member

@odow odow commented Sep 18, 2023

x-ref #2268

These ones are all needed for calls like

ones(T, 4)

because JET can't tell if T is a type or an Int, so it annotate the return type as ones(T,4)::Union{Vector{T},Matrix{Float64}.

Locally, I'm down to ═════ 172 possible errors found ═════

@odow odow merged commit 692006d into master Sep 19, 2023
@odow odow deleted the od/jet2 branch September 19, 2023 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant