Revert ""modified" -> "set" for subshell var messages"

Yeah no it was better before
This reverts commit d2b258434d.
This commit is contained in:
Vidar Holen 2012-11-05 10:30:36 -08:00
parent da8ab3322c
commit c3f62aaad6
1 changed files with 2 additions and 2 deletions

View File

@ -248,8 +248,8 @@ findSubshelled ((Reference (readId, str)):rest) scopes deadVars = do
case Map.findWithDefault Alive str deadVars of case Map.findWithDefault Alive str deadVars of
Alive -> return () Alive -> return ()
Dead writeId -> do Dead writeId -> do
addNoteFor writeId $ Note InfoC $ str ++ " is here set inside a subshell, but is later used outside." addNoteFor writeId $ Note InfoC $ str ++ " is here modified 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 readId $ Note InfoC $ str ++ " was last modified in a subshell, and that change might be lost."
findSubshelled rest scopes deadVars findSubshelled rest scopes deadVars
findSubshelled ((StackScope SubshellScope):rest) scopes deadVars = findSubshelled ((StackScope SubshellScope):rest) scopes deadVars =