summary refs log tree commit diff stats
path: root/tests/destructor/t5342.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix global destructor injection for JS backend (#19797)quantimnot2022-05-231-1/+2
| | | | | | | | | | | | | | * Fix global destructor injection for JS backend * Moved global destructors injection before the final call to transform and generate JS code. It had previously been after and thus not no JS was generated for them. * Added some internal documentation of `jsgen`. * Enable a current destructor test to cover the JS backend as well. * Fixes the JS aspect of #17237. * Fixed global destructor injection order for JS backend Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* close #5342 add testcase (#17230)flywind2021-03-021-0/+23
* remove unnecessary when statement * remove outdated codes * close #5342 add testcase * update the example