FIX: issue #512 (CASE doesn't support non-literal in compiler)