Re: [PATCH] jscript: throw TypeError if T in 'new T' is not an object. [try 2]
1 Oct
2010
1 Oct
'10
10:37 a.m.
2010/10/1 Reece Dunn <msclrhd(a)googlemail.com>:
Hi,
try 1 -- throw TypeError if T in 'new T' is not an object. try 2 -- handle the case when using a null dispatch pointer: `new nullDisp;`
NOTE: given `new 3;` the engine should report IDS_UNSUPPORTED_ACTION instead of IDS_NO_PROPERTY but this requires more changes to the code (constr.vt is VT_EMPTY in both of these cases in engine.c).
- Reece
wouldn't this be more readable in separate lines? one less condition, just repeating the VariantClear...
5554
Age (days ago)
5554
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ricardo Filipe