diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-15 09:12:12 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-12-15 06:56:37 -0500 |
commit | 029db614e3c04279b9ae6c7e21e07baeccad63fd (patch) | |
tree | 4154b80aabcf6cb4e63cc9b6aa69ef3bdc3eafde /CONTRIBUTING.md | |
parent | 0991464de681f460c5ffdbe17444f0d5d52052e7 (diff) | |
download | serenity-029db614e3c04279b9ae6c7e21e07baeccad63fd.zip |
LibJS: Ensure Optional<Completion>'s defaults to empty completion
Default-constructing the m_value Completion made it have an undefined
JS value when not overridden in a constructor, such as the conditional
initialization in Optional(Optional<JS::Completion> const&).
See investigation by Tim here:
https://github.com/SerenityOS/serenity/pull/16498#discussion_r1049090456
Co-authored-by: Timothy Flynn <trflynn89@pm.me>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions