[Webkit-unassigned] [Bug 280744] JSDOMPromiseDeferred.h:307:20: "error: use 'template' keyword to treat 'resolve' as a dependent template name" with some Clang versions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 2 00:53:39 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280744
--- Comment #1 from Abrar Rahman Protyasha <a_protyasha at apple.com> ---
This is a valid diagnostic, because `m_promise` is indeed a member template specialization and the `resolve()` call explicitly depends on a template parameter, so we must adhere to clause 13.3/3.4 of the current working draft of the C++ standard.
https://eel.is/c++draft/temp#:~:text=The%20keyword%20template%20is%20used%20to%20indicate%20that%20a%20dependent%20qualified%20name%20(%5Btemp.dep.type%5D)%20denotes%20a%20template%20where%20an%20expression%20might%20appear
--
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/20241002/34c08c20/attachment.htm>
More information about the webkit-unassigned
mailing list