elm-lang / elm-repl

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

Assignment causes loop and then NaN #136

Open GreenHapi opened 8 years ago

GreenHapi commented 8 years ago

Ubuntu 16.10, elm-repl 0.17.0 and elm-repl 0.17.1

> x = 1
1 : number
> y = x + 2
3 : number
> x
1 : number
> y
3 : number
> x = y
> x
> y
NaN : number

I'm expecting some kind of error message when I'm typing x = y (assignment causes loop).

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