Touch up controller logic to handle nested items well.

The test in the previous commit now passes
This commit is contained in:
moxian 2025-03-30 15:27:01 -07:00 committed by nora
parent 5ebb428295
commit 2f9a0d45a1
3 changed files with 77 additions and 27 deletions

View file

@ -0,0 +1,24 @@
// this should all get deleted in a single swoop *and* not panic about it
/// ~REQUIRE-DELETED l1
mod l1 {
mod l2 {
mod l3 {
mod l4{
mod l5 {
fn foo(){}
fn bar(){}
mod l6 {
fn x1(){}
}
fn x2(){}
}
}
mod l4_2 {
fn y(){}
}
}
}
fn x8(){}
}
/// ~MINIMIZE-ROOT main
fn main(){}