elsassph / haxe-modular

Haxe-JS code splitting, NPM dependencies bundling, hot-reload
116 stars 14 forks source link

Fix merging of classes in module and infinite loop in commonParent function #93

Closed dmitry-kuzovatkin closed 5 years ago

dmitry-kuzovatkin commented 5 years ago

Fix issue with modular output in next case: Bundle.loadLib('lib', ['lib']).then(function(_) {}); Bundle.loadLib('lib', ['a_b.C_d']).then(function() {});

Also sort for modules in tests by name added, to avoid order dependency which produce failed tests result, which is not failed actually. Fix sort(null) error(real function added) In commonParent function add condition, which protect code from infinite loop

elsassph commented 5 years ago

Awesome, @dmitry-kuzovatkin!