Skip to content
  • Vladislav Zavialov's avatar
    Improve parser error messages for TemplateHaskellQuotes · c68e7e1e
    Vladislav Zavialov authored and Marge Bot's avatar Marge Bot committed
    While [e| |], [t| |], [d| |], and so on, steal syntax from list
    comprehensions, [| |] and [|| ||] do not steal any syntax.
    
    Thus we can improve error messages by always accepting them in the
    lexer. Turns out the renamer already performs necessary validation.
    c68e7e1e