./script/miniscript.h:649:64: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
[&upfn](DummyState, const Node& node, Span<Result> subs) {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:663:67: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
[&upfn](State&& state, const Node& node, Span<Result> subs) {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:678:64: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
[&upfn](DummyState, const Node& node, Span<Result> subs) {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:741:87: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
auto upfn = [&ctx, is_tapscript](bool verify, const Node& node, Span<CScript> subs) -> CScript {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:819:92: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
auto upfn = [&ctx, is_tapscript](bool wrapped, const Node& node, Span<std::string> subs) -> std::optional<std::string> {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:1430:58: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
auto upfn = [&ctx](const Node& node, Span<state> subs) -> state {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:1538:77: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
return TreeEval<const Node*>([](const Node& node, Span<const Node*> subs) -> const Node* {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^
./script/miniscript.h:1551:64: error: declaration shadows a field of 'Node<Key>' [-Werror,-Wshadow]
return TreeEval<int>([&fn](const Node& node, Span<int> subs) -> bool {
^
./script/miniscript.h:509:39: note: previous declaration is here
mutable std::vector<NodeRef<Key>> subs;
^