mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 09:57:00 +02:00
Mirroring the pre-existing `generate_from_integral` function. This will allow us to fix a bug that all of these if statements have in common - no handling of nullable types. This also adjusts the type casted for each integral to fully match that stated by the spec. (cherry picked from commit d6243abec3e0f10ddf75a32c8a291f43cbdae169)