We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9cd48b commit 9156b3cCopy full SHA for 9156b3c
src/varname.jl
@@ -302,7 +302,7 @@ subsumes(t::ComposedOptic, u::ComposedOptic) =
302
# If `t` is still a composed lens, then there is no way it can subsume `u` since `u` is a
303
# leaf of the "lens-tree".
304
subsumes(t::ComposedOptic, u::PropertyLens) = false
305
-# Here we need to check if `u.outer` (i.e. the next lens to be applied from `u`) is
+# Here we need to check if `u.inner` (i.e. the next lens to be applied from `u`) is
306
# subsumed by `t`, since this would mean that the rest of the composition is also subsumed
307
# by `t`.
308
subsumes(t::PropertyLens, u::ComposedOptic) = subsumes(t, u.inner)
0 commit comments