-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
julia> subsumes(@varname(a.b[2]), @varname(a.b.c))
ERROR: MethodError: no method matching subsumes(::IndexLens{Tuple{Int64}}, ::PropertyLens{:c})
The function `subsumes` exists, but no method is defined for this combination of argument types.
Closest candidates are:
subsumes(::typeof(identity), ::Union{typeof(identity), IndexLens, PropertyLens, ComposedFunction})
@ AbstractPPL ~/.julia/packages/AbstractPPL/7aTb9/src/varname.jl:320
subsumes(::Union{typeof(identity), IndexLens, PropertyLens, ComposedFunction}, ::typeof(identity))
@ AbstractPPL ~/.julia/packages/AbstractPPL/7aTb9/src/varname.jl:321
subsumes(::PropertyLens{name}, ::PropertyLens{name}) where name
@ AbstractPPL ~/.julia/packages/AbstractPPL/7aTb9/src/varname.jl:336
...
Stacktrace:
[1] subsumes(t::ComposedFunction{IndexLens{…}, PropertyLens{…}}, u::ComposedFunction{PropertyLens{…}, PropertyLens{…}})
@ AbstractPPL ~/.julia/packages/AbstractPPL/7aTb9/src/varname.jl:324
[2] subsumes(u::VarName{:a, ComposedFunction{…}}, v::VarName{:a, ComposedFunction{…}})
@ AbstractPPL ~/.julia/packages/AbstractPPL/7aTb9/src/varname.jl:311
[3] top-level scope
@ REPL[5]:1
Some type information was truncated. Use `show(err)` to see complete types.
Metadata
Metadata
Assignees
Labels
No labels