yesodweb / yesodweb.com-content

Content for the www.yesodweb.com site
http://www.yesodweb.com/
Other
67 stars 112 forks source link

Fixes user error of pasting commented line in .lucius file #200

Closed bradyt closed 6 years ago

bradyt commented 6 years ago

I think the issue at found the issue at https://github.com/yesodweb/yesodweb.com-content/issues/88 is similar to mine.

Ran into similar issue,

$ stack runghc test.hs 
test2.hs:20:12: error:
    • Exception when trying to run compile-time code:
        "-- @template.lucius
foo { bar: baz }" (line 1, column 1):
unexpected " "
expecting "-->"
CallStack (from HasCallStack):
  error, called at ./Text/Css.hs:136:17 in shakespeare-2.0.12.1-7zylhH6EvxxByWoabG0aiC:Text.Css
      Code: luciusFileDebug "template.lucius"
    • In the untyped splice: $(luciusFileDebug "template.lucius")