Bug 15762 - 3.1 Names / constants clarification
3.1 Names / constants clarification
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL
All All
: P2 normal
: ---
Assigned To: Cameron McCormack
Depends on:
  Show dependency treegraph
Reported: 2012-01-28 17:40 UTC by Ms2ger
Modified: 2012-01-30 23:32 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ms2ger 2012-01-28 17:40:32 UTC
The spec states:

> For constants, ... the final identifier token before the semicolon at
> the end of the declaration determines the identifier.

I guess this is technically correct, because the value wouldn't be an identifier, but this could say more clearly that the identifier is before the '='.
Comment 1 Cameron McCormack 2012-01-29 23:04:36 UTC
That isn't the case for attributes, exception fields and dictionary members, though.  Do you think I should split that into another bullet point?
Comment 2 Ms2ger 2012-01-30 09:39:57 UTC
I think that would be slightly clearer, yes.
Comment 3 Cameron McCormack 2012-01-30 23:32:17 UTC
OK, I did that.