I believe I stated the issue, but I'll repeat it: If both the inner and outer switch functions have a "default" case, the code will not compile.
The error message is "multiple default labels in one switch".
You can see in the code I shared that the outer default case is commented out. I can comment out that default case or the inner one and the code will compile. If I have both I will get the error.
EDIT: I believed wrong, I did not actually state that with both defaults the code would not compile. Apologies.