Enforcing return value types

Nathan de Vries nathan at atnan.com
Tue Nov 13 00:09:13 PST 2007

On Mon, 2007-11-12 at 23:50 -0800, Lars T Hansen wrote:
> I'm guessing you're just experiencing the effects of
> http://bugs.ecmascript.org/ticket/285.  The correct behavior is a
> run-time error in standard mode; compile-time error in strict mode.

Ah, so it is. I'll assume the implementers will know that the scope of
the ticket is greater than that of functions with void return value
types defined.


Nathan de Vries
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2139 bytes
Desc: not available
Url : http://mail.mozilla.org/pipermail/es-discuss/attachments/20071113/65f1193c/attachment-0002.bin 

More information about the Es4-discuss mailing list