From c3f62aaad6cbef830f6764bf561b6e8a8583ce31 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 5 Nov 2012 10:30:36 -0800 Subject: [PATCH] Revert ""modified" -> "set" for subshell var messages" Yeah no it was better before This reverts commit d2b258434d89fa6280005d9630ee2ea52915642a. --- Shpell/Analytics.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shpell/Analytics.hs b/Shpell/Analytics.hs index f75d712..eeb7a4f 100644 --- a/Shpell/Analytics.hs +++ b/Shpell/Analytics.hs @@ -248,8 +248,8 @@ findSubshelled ((Reference (readId, str)):rest) scopes deadVars = do case Map.findWithDefault Alive str deadVars of Alive -> return () Dead writeId -> do - addNoteFor writeId $ Note InfoC $ str ++ " is here set inside a subshell, but is later used outside." - addNoteFor readId $ Note InfoC $ str ++ " was last set in a subshell, and that change might be lost." + addNoteFor writeId $ Note InfoC $ str ++ " is here modified inside a subshell, but is later used outside." + addNoteFor readId $ Note InfoC $ str ++ " was last modified in a subshell, and that change might be lost." findSubshelled rest scopes deadVars findSubshelled ((StackScope SubshellScope):rest) scopes deadVars =