[Bug 20407] allow attributes to have different types for their getter and setter

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20407

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #7 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #6)
> This would not be conversion, but creating new objects from the 
> data passed to setter.

I believe Anne means that a setFoo/getFoo pair, where setFoo accepts a wider
variety of things but getFoo returns a specific type, is already possible,
acceptable, and widely used.  Thus, why is it unacceptable to do the same with
an attribute?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 17 December 2012 17:32:17 UTC