Skip to content
Snippets Groups Projects
Commit eb570ba7 authored by cms's avatar cms
Browse files

Add run time type checks

we're relying on the "type system" to protect us against ULID
overflows, but the compiler checks and assertions aren't guaranteed to
be portable, so we need to inspect our bounds to see that we don't
pass the upper limit for ULID according to the spec

rather than ad-hoc checks and `error` like I was using before, this
can all be simplified to use `check-type`
parent f21fc61f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment