New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Errors in Repl #219

Closed
MarcoPolo opened this Issue Apr 20, 2015 · 3 comments

Comments

Projects
None yet
4 participants
@MarcoPolo

MarcoPolo commented Apr 20, 2015

When an error is encountered it's persisted across the repl. i.e.:

> 'sad=panda

Error in repl-temp-000.elm:

Parse error at (line 2, column 3):
unexpected "a"
expecting at least one datatype or variable definition


> pwnd = True

Error in repl-temp-000.elm:

Parse error at (line 2, column 3):
unexpected "a"
expecting at least one datatype or variable definition

If you are playing around and you make a mistake you essentially have to retype and rebuild the environment.

@justinmanley

This comment has been minimized.

Show comment
Hide comment
@justinmanley

justinmanley Apr 21, 2015

+1. This is a minor (but consistent) irritation for me.

justinmanley commented Apr 21, 2015

+1. This is a minor (but consistent) irritation for me.

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender Jan 19, 2016

Contributor

Move this over to the https://github.com/elm-lang/elm-repl repository? (If it is still a problem with the current version of elm-repl at all.)

Contributor

jvoigtlaender commented Jan 19, 2016

Move this over to the https://github.com/elm-lang/elm-repl repository? (If it is still a problem with the current version of elm-repl at all.)

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Sep 22, 2016

Member

What @jvoigtlaender said. This should be on the elm-repl repo if the problem still exists!

Member

evancz commented Sep 22, 2016

What @jvoigtlaender said. This should be on the elm-repl repo if the problem still exists!

@evancz evancz closed this Sep 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment