Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: daa46e4da058728633f7580887914ce24bbcf56c
      
https://github.com/WebKit/WebKit/commit/daa46e4da058728633f7580887914ce24bbcf56c
  Author: Alex Christensen <[email protected]>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp

  Log Message:
  -----------
  Type info for members with Nullable attribute should pretend it's 
std::optional
https://bugs.webkit.org/show_bug.cgi?id=252645

Reviewed by Wenson Hsieh.

The generated serialization treats these members the same as std::optional,
so exposing the type info as std::optional makes the scripts that read it more 
correct.

* Source/WebKit/Scripts/generate-serializers.py:
(generate_serialized_type_info):
* Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp:
(WebKit::allSerializedTypes):

Canonical link: https://commits.webkit.org/260624@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to