Skip to content

Commit 98dd5cd

Browse files
committed
TableParts: avoid name shadowing
HsLua now re-exports HsLua.Aeson, which contains a function `pushValue`; that name should not be used.
1 parent b23600f commit 98dd5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Text/Pandoc/Lua/Marshal/TableParts.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ peekTableBody = fmap (retrieving "TableBody")
9999

100100
-- | Add a value to the table at the top of the stack at a string-index.
101101
addField :: LuaError e => Name -> LuaE e () -> LuaE e ()
102-
addField key pushValue = do
102+
addField key pushFieldValue = do
103103
pushName key
104-
pushValue
104+
pushFieldValue
105105
rawset (nth 3)

0 commit comments

Comments
 (0)