yesodweb/hamlet — Issue #45: Parser is too lenient
Author: atnnn
Created: 2012-02-27 00:37:59+00:00
State: open

Consider the following line:

$foralll item <- list

I would expect to get an error from hamlet such as

Parse error on line 2

Instead I get a TH error

Illegal data constructor name: `l'
When splicing a TH expression:
Data.Foldable.mapM_ (\(l item_0) -> do Yesod.Widget.addHtml