From ba5bb488d1a81603957e269e67f678d8c8565516 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Tue, 27 Nov 2012 00:11:23 -0800 Subject: [PATCH] Case statements are now rightfully unquotable contexts --- ShellCheck/Analytics.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index a2059b9..03cfc4c 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -404,6 +404,7 @@ inUnquotableContext tree t = T_Assignment _ _ _ -> True T_Redirecting _ _ _ -> False T_DoubleQuoted _ _ -> True + T_CaseExpression _ _ _ -> True T_ForIn _ _ _ _ -> True -- Pragmatically assume it's desirable here x -> case Map.lookup (getId x) tree of Nothing -> False