FIX: issue #990 (SWITCH local object! path! broken)
Merge pull request #992 from qtxie/issue-990

FIX: issue #990 (SWITCH local object! path! broken)