bleeding: typesystem
This commit is contained in:
parent
452dcf99bb
commit
3d9ec28bfc
6 changed files with 88 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{nib, ...}: {
|
||||
badType = expect: x:
|
||||
throw "Expected type ${expect} but got ${builtins.typeOf x}.";
|
||||
throw "Expected type ${expect} but got ${nib.typeOf x}.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue