We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method is defined as
@eval function (P::Type{Pair{A, B}})(@nospecialize(a), @nospecialize(b)) where {A, B} @inline return $(Expr(:new, :P, :(convert(A, a)), :(convert(B, b)))) end
(CodeTracking) julia> method = @which Pair{Int, Int}(1, 1) Pair{A, B}(a, b) where {A, B} @ Base ~/.julia/juliaup/julia-1.9.2+0.x64.linux.gnu/share/julia/base/Base.jl:138 (CodeTracking) julia> definition(String, method) ERROR: AssertionError: isexpr(wheretyp, :<:) Stacktrace: [1] is_func_expr(ex::Any, meth::Method) @ CodeTracking /media/rag/NVME/Code/CodeTracking.jl/src/utils.jl:103 [2] definition(#unused#::Type{String}, method::Method) @ CodeTracking /media/rag/NVME/Code/CodeTracking.jl/src/CodeTracking.jl:261 [3] top-level scope @ REPL[208]:1
It seems like the problem is the fname is :(P::Type{Pair{A, B}}) at
fname
:(P::Type{Pair{A, B}})
CodeTracking.jl/src/utils.jl
Line 76 in 9db8d0e
:Type
Line 99 in 9db8d0e
strip_gensym(meth.name)
:Pair
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The method is defined as
It seems like the problem is the
fname
is:(P::Type{Pair{A, B}})
atCodeTracking.jl/src/utils.jl
Line 76 in 9db8d0e
:Type
atCodeTracking.jl/src/utils.jl
Line 99 in 9db8d0e
strip_gensym(meth.name)
is:Pair
.The text was updated successfully, but these errors were encountered: