Commit 771ec158 authored by Camil Staps's avatar Camil Staps 🍃

Don't generate duplicate code (e.g. tuples; 'use strict')

parent 50550928
......@@ -60,7 +60,7 @@ Start w
| any isNothing files = error Nothing "Parsing failed" w
# (out,w) = stdio w
# (out,_,w) = seqSt (genCode opts) [f \\ Just f <- files] (out,pst,w)
# (out,_,w) = genCode opts (join "\n" [f \\ Just f <- files]) (out,pst,w)
# (_,w) = fclose out w
= w
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment