Skip to content

Transformer exports#349

Merged
lolleko merged 12 commits intots-to-lua-astfrom
transformer-exports
Jan 24, 2019
Merged

Transformer exports#349
lolleko merged 12 commits intots-to-lua-astfrom
transformer-exports

Conversation

@lolleko
Copy link
Copy Markdown
Member

@lolleko lolleko commented Jan 20, 2019

Closes #286

@lolleko lolleko requested review from Perryvw and tomblind January 20, 2019 16:53
Perryvw and others added 8 commits January 20, 2019 21:56
* Fixing remaining tests
- Fixed exporting enum members
- Fixed exporting namespace members in a non-module
- (Re)Fixed recursive functions
- Updated transformation tests with aesthetic changes

* corrected class export transform tests (which re-breaks them right now)
#355)

* fixed additional issues with exported classes and a few transform tests where functions are now declared local

* local/global/export logic fix
- function and var are global unless inside a module, namespace or function
- everything else is local
- functions and function expressions properly separate declaration from assignment for recursion now
- transform tests updated
- also fixed noHeader not being respected when building lualib
@lolleko lolleko merged commit 826c459 into ts-to-lua-ast Jan 24, 2019
@lolleko lolleko deleted the transformer-exports branch January 24, 2019 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants