outlining support for switch blocks\array literals

fixes #770, #771