-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
duplicateIndicates similar issues or pull requestsIndicates similar issues or pull requeststypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Description
julia> f(::Type{T}) where T = T
julia> f(Vector.body)
ERROR: UndefVarError: `T` not defined in static parameter matching
julia> f(Vector)
ERROR: UndefVarError: `T` not defined in static parameter matching
The first error is correct, but the second call should work, and does in versions prior to 1.12.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateIndicates similar issues or pull requestsIndicates similar issues or pull requeststypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch