Skip to content

Commit

Permalink
Update the requirement about the definition of a constructor (#697)
Browse files Browse the repository at this point in the history
I didn't notice this paragraph in 8e1b529,
where it should have been updated.
  • Loading branch information
Ms2ger authored and bzbarsky committed Mar 26, 2019
1 parent b47c90c commit c86c55b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -8330,10 +8330,8 @@ using an empty argument list, <code>[Constructor()]</code>. For each
on the interface, there will be a way to construct an object that [=implements=]
the interface by passing the specified arguments.

The prose definition of a constructor must
either return an IDL value of a type corresponding to the interface
the [{{Constructor}}]
extended attribute appears on, or throw an exception.
The prose definition of a constructor must either initialize the value passed as <b>[=this=]</b>,
or throw an exception.

The [{{Constructor}}] and
[{{NoInterfaceObject}}]
Expand Down

0 comments on commit c86c55b

Please sign in to comment.