Fixed a bug in the flow utils code that was using the old name stack when removing an element

This commit is contained in:
Neil Brown 2009-02-08 19:11:58 +00:00
parent a71499c268
commit a75a195654

View File

@ -229,7 +229,7 @@ withDeclName n m = do st <- get
put $ st {nameStack = n : nameStack st}
x <- m
st' <- get
put $ st' {nameStack = tail $ nameStack st}
put $ st' {nameStack = tail $ nameStack st'}
return x
withDeclSpec :: (Monad mLabel, Monad mAlter) =>