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
ERROR: LoadError: MethodError: Cannot `convert` an object of type Int64 to an object of type Union{Expr, Symbol}
Closest candidates are:
convert(::Type{S}, ::T) where {S, T<:(Union{CategoricalString{R}, CategoricalValue{T,R} where T} where R)} at /home/sturm/.julia/packages/CategoricalArrays/dmrjI/src/value.jl:103
convert(::Type{T}, ::Intervals.Interval{T,L,R} where R<:Intervals.Bound where L<:Intervals.Bound) where T at /home/sturm/.julia/packages/Intervals/iTDy5/src/interval.jl:195
convert(::Type{T}, ::Intervals.AnchoredInterval{P,T,L,R} where R<:Intervals.Bounded where L<:Intervals.Bounded) where {P, T} at /home/sturm/.julia/packages/Intervals/iTDy5/src/anchoredinterval.jl:178
...
Stacktrace:
[1] convert(::Type{Tuple{Union{Expr, Symbol}}}, ::Tuple{Int64}) at ./essentials.jl:307 (repeats 2 times)
[2] push!(::Array{Tuple{Union{Expr, Symbol},Union{Expr, Symbol}},1}, ::Tuple{Symbol,Int64}) at ./array.jl:868
[3] unapply(::Int64, ::Symbol, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Match.MatchExprInfo, ::Bool) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:43
[4] unapply(::Array{Any,1}, ::Array{Any,1}, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Match.MatchExprInfo, ::Bool) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:245
[5] unapply(::Expr, ::Expr, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Match.MatchExprInfo, ::Bool) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:81
[6] unapply(::Expr, ::Expr, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Array{Symbol,1}, ::Match.MatchExprInfo) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:56
[7] gen_match_expr(::Expr, ::Expr, ::Symbol, ::Bool) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:367
[8] gen_match_expr(::Expr, ::Expr, ::Symbol) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:348
[9] @match(::LineNumberNode, ::Module, ::Any, ::Any) at /home/sturm/.julia/packages/Match/qiTCM/src/matchmacro.jl:434
in expression starting at REPL[112]:1
I assume this is a bug and not intended behavior?
The text was updated successfully, but these errors were encountered:
So this works:
but this doesn't
I get the error:
I assume this is a bug and not intended behavior?
The text was updated successfully, but these errors were encountered: