Trying to construct an `Expected<int, double>` using `Expected(unexpect, 32.0)` gave me a compilation error "No viable conversion from 'std::experimental::unexpected<double>' to 'value_type' (aka 'int')" The code is wrong https://searchfox.org/wubkat/rev/b38121da42a0483fdb1bc13782f1c7a8059de100/Source/WTF/wtf/Expected.h#448 `template<class... Args> constexpr explicit expected(unexpected_t, Args&&... args) : base(__expected_detail::value_tag, unexpected_type(std::forward<Args>(args)...)) { }` should be: `template<class... Args> constexpr explicit expected(unexpected_t, Args&&... args) : base(__expected_detail::error_tag, unexpected_type(std::forward<Args>(args)...)) { }`
<rdar://problem/115401559>
Pull request: https://github.com/WebKit/WebKit/pull/17720
Committed 267931@main (95191e8f4045): <https://commits.webkit.org/267931@main> Reviewed commits have been landed. Closing PR #17720 and removing active labels.