Skip to content

Commit a029460

Browse files
Ms2gerbzbarsky
authored andcommitted
Disallow combining Global with Constructor/NamedConstructor. (#745)
Fixes #744.
1 parent c0d927a commit a029460

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8276,6 +8276,9 @@ The [{{Constructor}}] and
82768276
[{{NoInterfaceObject}}]
82778277
extended attributes must not be specified on the same interface.
82788278

8279+
The [{{Constructor}}] and [{{Global}}] [=extended attributes=] must not be specified on the same
8280+
[=interface=].
8281+
82798282
See [[#interface-object]] for details on how a constructor
82808283
for an interface is to be implemented.
82818284

@@ -9229,6 +9232,9 @@ that has an [=interface object=],
92299232
and must not be one of the
92309233
[=reserved identifiers=].
92319234

9235+
The [{{NamedConstructor}}] and [{{Global}}] [=extended attributes=] must not be specified on the
9236+
same [=interface=].
9237+
92329238
See [[#named-constructors]] for details on how named constructors
92339239
are to be implemented.
92349240

0 commit comments

Comments
 (0)