Re: [whatwg/webidl] Specify that dictionaries can't be the type of attr/constant (#940)

@annevk commented on this pull request.



> @@ -5595,8 +5595,7 @@ and the return type and argument list (matching <emu-nt><a href="#prod-Type">Typ
 and <emu-nt><a href="#prod-ArgumentList">ArgumentList</a></emu-nt>) on the right side of the equals
 sign gives the signature of the callback function type.
 
-[=Callback functions=] must not
-be used as the type of a [=constant=].
+[=Callback functions=] must not be used as the type of a [=constant=].

So why do we only have the requirement on dictionaries once?

But also, we shouldn't have duplicate requirements. That needs a follow-up issue. (Preserving consistency for now seems okay.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/940#discussion_r728050550

Received on Wednesday, 13 October 2021 13:16:06 UTC