This website requires JavaScript.
Explore
Help
Sign in
cry
/
nt
Watch
1
Star
0
Fork
You've already forked nt
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
e09dcfbdd9
nt
/
nib
/
panic.nix
5 lines
101 B
Nix
Raw
Normal View
History
Unescape
Escape
bleeding: typesystem
2025-12-18 11:26:47 +10:00
{
nib
,
.
.
.
}:
{
add panic.nix and assertions to type checks
2025-12-14 22:41:17 +10:00
badType
=
expect
:
x
:
bleeding: typesystem
2025-12-18 11:26:47 +10:00
throw
"
E
x
p
e
c
t
e
d
t
y
p
e
${
expect
}
b
u
t
g
o
t
${
nib
.
typeOf
x
}
.
"
;
add panic.nix and assertions to type checks
2025-12-14 22:41:17 +10:00
}
Reference in a new issue
Copy permalink