Hey Andy,

If you're looking at patches, would you look this over and merge it if
you like it? Doesn't have to go into 2.1.6 per se, but it would be
cool to have it on master.


On Sat, Nov 19, 2016 at 10:44 AM, Julian Graham <jool...@gmail.com> wrote:
> Howdy!
>
> Find attached a patch that makes it so that the following ECMAscript
> expressions all have the same effect:
>
> Object();
> new Object;
> new Object();
>
> This lays a foundation for having certain constructor functions (like
> `Error') behave differently when invoked outside of a `new'
> expression.
>
> Andy, I'd particularly like your feedback on this approach, as it
> relies in part on the use of `*program-wrappers*' (in `(language
> ecmascript function)') and I'm not 100% sure I understand the intent
> behind that table.

Reply via email to