[Webkit-unassigned] [Bug 215514] New: [WebIDL] 'void' type is changing to 'undefined'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 10:45:51 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215514

            Bug ID: 215514
           Summary: [WebIDL] 'void' type is changing to 'undefined'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jackalmage at gmail.com
                CC: cdumez at apple.com

As part of efforts to finally add an 'undefined' type to WebIDL (so methods/etc don't have to generalize their type to 'any'), it was decided to actually add 'undefined' as the type name, and so the previous function return signature 'void' is being removed for redundancy.

See https://github.com/heycam/webidl/pull/906 for details on the change.

This change will be merged shortly; this bug is a heads-up to adjust your IDL parser (see the PR for the changes to the grammar; it's quite small). You may wish to have a transitional period where you recognize 'void' and 'undefined' as synonyms, as specifications are moved over to the new syntax.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200814/a98e74e6/attachment.htm>


More information about the webkit-unassigned mailing list