diff --git a/auxil/spicy b/auxil/spicy index 64c0000c2a..7347a2be41 160000 --- a/auxil/spicy +++ b/auxil/spicy @@ -1 +1 @@ -Subproject commit 64c0000c2a9385020e7f357711c0da3de4b03517 +Subproject commit 7347a2be4188a7ec2b3b71cf620fd3e3267c78af diff --git a/src/spicy/spicyz/glue-compiler.cc b/src/spicy/spicyz/glue-compiler.cc index 2b75a90949..6c6120b377 100644 --- a/src/spicy/spicyz/glue-compiler.cc +++ b/src/spicy/spicyz/glue-compiler.cc @@ -1719,7 +1719,7 @@ struct VisitorUnitFields : spicy::visitor::PreOrder { void operator()(::spicy::type::unit::item::Switch* n) { for ( const auto& c : n->cases() ) { - for ( const auto& i : c->items() ) + for ( const auto& i : c->block()->items() ) dispatch(i); } }