summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/Value.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-06 16:49:30 +0000
committerAndreas Kling <kling@serenityos.org>2020-12-06 18:52:52 +0100
commit2313e583930bd0bd8eeec18afc8d72c4b8350093 (patch)
treeb879711a175fbe55b227566a20fa28960f2cb28d /Libraries/LibJS/Runtime/Value.cpp
parent99a6c4ce42b3c44f7a74b9c18d7f3471938c8e32 (diff)
downloadserenity-2313e583930bd0bd8eeec18afc8d72c4b8350093.zip
AK: Make Formatter<StringView> not choke on Mode::Character
Formatter<char> internally uses Formatter<StringView> when in Mode::Character, but that would only accept Mode::{Default,String} and ASSERT_NOT_REACHED() otherwise, causing String::formatted("{:c}", 'a') to crash
Diffstat (limited to 'Libraries/LibJS/Runtime/Value.cpp')
0 files changed, 0 insertions, 0 deletions