guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ECMAscript: Bind type names to constructor functions in the


From: Julian Graham
Subject: Re: [PATCH] ECMAscript: Bind type names to constructor functions in the global env.
Date: Sun, 8 Jan 2017 21:28:03 -0500

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 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]