You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lint does not seem to support the new where syntax. For example, this
struct Struct{T <:Real}
a::Vector{T}
b::Vector{T}functionStruct(a::Vector{T}, b::Vector{T}) where {T <:Real}
@assertlength(a) ==length(b)
new{T}(a, b)
endend
produces the following lint output:
test.jl:2 E131 Struct(a::Vector{T}, b::Vector{T}): Lint does not understand argument #1
test.jl:2 E131 T <: Real: Lint does not understand argument #2
test.jl:6 E321 a: use of undeclared symbol
test.jl:6 E321 b: use of undeclared symbol
test.jl:8 E321 a: use of undeclared symbol
test.jl:8 E321 b: use of undeclared symbol
The text was updated successfully, but these errors were encountered:
Thanks for filing this issue! I intend to address this problem in the near future. There is an open #231 work in progress that lays the foundation for supporting this syntax.
Lint
does not seem to support the newwhere
syntax. For example, thisproduces the following lint output:
The text was updated successfully, but these errors were encountered: