[Webkit-unassigned] [Bug 261598] New: [WinCairo] Using C++20's concept cause WinCairo compiler to crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 15 02:25:01 PDT 2023


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

            Bug ID: 261598
           Summary: [WinCairo] Using C++20's concept cause WinCairo
                    compiler to crash
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com

(Using Tools / Test component for lack of a better component)

I added usage of C++20 concept in a PR, WinCairo bots crashes when parsing that file.

https://ews-build.webkit.org/#/builders/32/builds/17174

This is the added code causing an issue:

```
class NativePromiseBase;

template <typename T>
concept IsNativePromise = std::is_base_of<NativePromiseBase, T>::value;

template <typename T, typename U>
concept RelatedNativePromise = requires(T, U)
{
    { IsNativePromise<T> };
    { IsNativePromise<U> };
    { std::is_same<typename T::NativePromiseBaseType, typename U::NativePromiseBaseType>::value };
};
```

-- 
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/20230915/9d38f9b4/attachment.htm>


More information about the webkit-unassigned mailing list