Bogdanp / elm-ast

A parser for Elm in Elm.
http://bogdanp.github.io/elm-ast/example/
BSD 3-Clause "New" or "Revised" License
143 stars 21 forks source link

Cannot parse an empty list with a space in it #95

Open gaul opened 6 years ago

gaul commented 6 years ago

The following example fails with a space in the list but succeeds without it:

module Example exposing (test)

test : List ( String )
test = [ ]
Err ((),{ data = "module Example exposing (test)\n\n\ntest : List ( String )\ntest = [ ]", input = "test = [ ]", position = 56 },["expected end of input"])