Bogdanp / Bogdanp/elm-ast

Cannot parse an empty list with a space in it

Open
#95 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
145
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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"])
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.