Skip to content

Commit 6e77005

Browse files
committed
Rename 'debugOut' to 'debugMode' to better convey its meaning
1 parent d42a484 commit 6e77005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/Stack2JS.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ class ToJS a where
138138
toJS :: a -> W PP.Doc
139139

140140
irProg2JSString :: CompileMode -> Bool -> StackProgram -> String
141-
irProg2JSString compileMode debugOut ir =
142-
let (fns, _, (_,_,konts)) = runRWS (toJS ir) debugOut initState
141+
irProg2JSString compileMode debugMode ir =
142+
let (fns, _, (_,_,konts)) = runRWS (toJS ir) debugMode initState
143143
inner = vcat (fns:konts)
144144
outer = vcat $
145145
[ "function" <+> text "Top" <+> text "(rt) {"

0 commit comments

Comments
 (0)