W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2016

Re: How to use [EnforceRange] with union types and enums

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 13 Sep 2016 14:10:34 +0200
Message-ID: <CADnb78hWL8H8GOJJ9r7XDO_SWWzebM9cTr4ozRg-4Z5V4KyyEA@mail.gmail.com>
To: Adam Bergkvist <adam.bergkvist@ericsson.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
On Tue, Sep 13, 2016 at 1:26 PM, Adam Bergkvist
<adam.bergkvist@ericsson.com> wrote:
> Consider the below case. The LongRage dictionary enforces range on it's
> max and min members. I want to enforce range on the remaining 'long' in
> the Longish typedef. Is it valid to squeeze in the extended attribute in
> the typedef?

It's an open issue:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28834. I think I agree
that extended attributes that effectively modify the type coercion
should be usable in such a context.


-- 
https://annevankesteren.nl/
Received on Tuesday, 13 September 2016 12:11:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 September 2016 12:11:04 UTC