elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

Node Empty #233

Open Bernardoow opened 6 years ago

Bernardoow commented 6 years ago

Hi Team!

I Type this node "" [] [].

Elm-reactor not sent a error. When I entered in page I checked Java Console and saw a error Uncaught DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('') is not a valid name. at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5183:16) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5191:25) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5191:25) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5191:25) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5191:25) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5191:25) at render (http://127.0.0.1:8000/_compile/src/Page/T.elm:5173:18) at http://127.0.0.1:8000/_compile/src/Page/T.elm:6499:17 at Object.callback (http://127.0.0.1:8000/_compile/src/Page/T.elm:7129:16) at step (http://127.0.0.1:8000/_compile/src/Page/T.elm:6933:39)

Reactor Can check for empty node?

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.