elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

REPL freezes up, Ellie freezes up too, both freezing the whole system #159

Closed endlessoblivion closed 6 years ago

endlessoblivion commented 6 years ago

An innocent and incorrect line like:

List.foldl (\a b -> b a) () []

or:

List.foldl (\a b -> b a) (,) []

freezes REPL up and after a while the whole system freezes too.

The same happens in Ellie, where compilation of these doesn't finish (ever), eventually freezing the browser and system too.

[Elm 0.18 / ubuntu]

process-bot commented 6 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

zwilias commented 6 years ago

Thanks for the report!

This looks like it's the same issue as in this bug: https://github.com/elm-lang/elm-compiler/issues/1602

Since it's fixed in 0.19, I'll close this for now.