From d2b258434d89fa6280005d9630ee2ea52915642a Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 5 Nov 2012 10:29:06 -0800 Subject: [PATCH] "modified" -> "set" for subshell var messages --- Shpell/Analytics.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shpell/Analytics.hs b/Shpell/Analytics.hs index eeb7a4f..f75d712 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 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." + 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." findSubshelled rest scopes deadVars findSubshelled ((StackScope SubshellScope):rest) scopes deadVars =