http://d.puremagic.com/issues/show_bug.cgi?id=4272
Nick Treleaven <ntrel-pub...@yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ntrel-pub...@yahoo.co.uk --- Comment #4 from Nick Treleaven <ntrel-pub...@yahoo.co.uk> 2012-10-06 06:22:10 PDT --- (In reply to comment #3) > typeof isn't a property or a function, unlike sizeof. It's like an > is-expression, and I think that treating it like a property would be a > mistake. I think (x + y).typeof should not be allowed, use the existing syntax instead. However, x.typeof is a useful shorthand that helps cut down on nested brackets in is expressions and elsewhere. So I would allow both typeof(expression) and identifier.typeof to be used, but *not* expression.typeof. The type of an instance is a natural property of the instance IMO. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------