breuleux / earl-grey

Programming language compiling to JavaScript
http://breuleux.github.io/earl-grey/
MIT License
464 stars 6 forks source link

Fix kebab-case names in macro dependencies #37

Closed TamsynUlthara closed 8 years ago

TamsynUlthara commented 8 years ago

Using a kebab-case name in a macro's dependencies would cause the dependency to be registered as that kebab-case name, instead of camelCase. This would cause subsequent lookups for the dependency under @deps to fail, since @deps.foo-bar translates to camelCase.