Closed sonnym closed 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.
A correction on this issue - it appears that the variable name is actually generated from the value of the repository
defined in elm-package.json
.
This should be resolved in 0.19 because (1) applications no longer have a name like this and (2) packages do not allow dots in the names. So either way, this cannot happen anymore. Sorry for the trouble!
No worries, thank you for the update!
Since this affects both reactor and make, I presume it is actually an issue with the compiler, but since I am not sure, I am hoping this is the best place to post for triage.
The generated JavaScript looks like:
var _sonnym$sonnym.github.io$Main$main = _elm_lang$virtual_dom$Native_VirtualDom.staticProgram(
wheresonnym.github.io
is the directory from which I am running the commands.This issue happens with any valid program, including the "Hello, World!" example from the website. Invalid programs, on the other hand, still give perfectly cromulent error messages, which is certainly a testament to the robustness of the compiler.
If you need any additional information about this, please let me know. Thanks!