summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-22 18:48:48 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-22 21:19:40 +0100
commit42b6bffbf2b6aa34f4f82cd4c3c34ed5528790ad (patch)
tree87fc2746bd510f0dbf8bfa1a52aae0e6f458a38a /Userland/Libraries/LibJS/Forward.h
parent8f26f5158080911d5cc54e26b34227a8d8123a8b (diff)
downloadserenity-42b6bffbf2b6aa34f4f82cd4c3c34ed5528790ad.zip
AK: Make TypeBoundsChecker<UnsignedIntegralT, FloatingPointT> work
By replacing MakeUnsigned<Source> in this specific specialization with a simple negativity check this now works for floating point source types. Previously it would attempt a comparison of the destination type and void.
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
0 files changed, 0 insertions, 0 deletions