diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-20 07:20:01 -0500 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-20 14:24:12 -0500 |
commit | d48266a42039b801f5833e9a28634eb94eff7953 (patch) | |
tree | 71b06e42428c1e57ba5773d2efe51a2d615dcb5e /Userland/Services/EchoServer | |
parent | e63477867988d2488d7493f7e716d587fde488d0 (diff) | |
download | serenity-d48266a42039b801f5833e9a28634eb94eff7953.zip |
AK: Support creating known short string literals at compile time
In cases where we know a string literal will fit in the short string
storage, we can do so at compile time without needing to handle error
propagation. If the provided string literal is too long, a compilation
error will be emitted due to the failed VERIFY statement being a non-
constant expression.
Diffstat (limited to 'Userland/Services/EchoServer')
0 files changed, 0 insertions, 0 deletions