I've recently encountered some code that went through this module (it was a pac file used by pac-resolver). The code had some functions that were used as constructors, but never used any of the passed names in their call tree. This caused the degenerated code to crush for using generator function as a constructor.
I know this PR doesn't directly solve the constructor issue, but at least for constructor usage that does not invoke any of the names function it should do the trick
I've recently encountered some code that went through this module (it was a pac file used by pac-resolver). The code had some functions that were used as constructors, but never used any of the passed
names
in their call tree. This caused the degenerated code to crush for using generator function as a constructor.I know this PR doesn't directly solve the constructor issue, but at least for constructor usage that does not invoke any of the
names
function it should do the trick