elm / error-message-catalog

A catalog of broken Elm programs / data to improve error messages
BSD 3-Clause "New" or "Revised" License
173 stars 17 forks source link

Typo in module definition #252

Open danfishgold opened 6 years ago

danfishgold commented 6 years ago
moudle A exposing (a)

a = 3

notice moudle instead of module

This yields the following error:

-- SYNTAX PROBLEM -------------------------------------------------------- A.elm

It looks like the keyword `exposing` is being used as a variable.

1| moudle A exposing (a)
                    ^
Rename it to something else.