elm-lang / elm-repl

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

Importing long list causes "Maximum call stack size exceeded" #146

Closed simonh1000 closed 7 years ago

simonh1000 commented 7 years ago

I got this error trying to run tests, as they rely on the repl it seems. Anyway I tracked it down to the import of a file that contains only a 640 item list (of countries and states). I reduced the list to 290 and it worked, but I don't know what is the actual cutoff point.

This has made me think I should move this into asynchronously downloaded json, but the bug still stands I think.

process-bot commented 7 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.

rtfeldman commented 7 years ago

I got this error trying to run tests, as they rely on the repl it seems

elm-test doesn't use elm-repl at all, so I suspect it's more likely to be https://github.com/elm-lang/elm-compiler/issues/1521