Fix deprecation

This commit is contained in:
Sijawusz Pur Rahnama 2023-12-27 17:54:43 +01:00 committed by GitHub
parent 774de634aa
commit 9eec7dad35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ class HTTP::Server
STORE_MAPPINGS = [Nil, String, Int32, Int64, Float64, Bool]
macro finished
alias StoreTypes = Union({{ *STORE_MAPPINGS }})
alias StoreTypes = Union({{ STORE_MAPPINGS.splat }})
@store = {} of String => StoreTypes
end