Remove obsolete type guard on toLua function.
This commit is contained in:
parent
421e9cf4fa
commit
b83e5c9de5
1 changed files with 0 additions and 3 deletions
|
@ -127,9 +127,6 @@ let
|
|||
# can be: null, bool, string, path, int, float, list, set or lambda
|
||||
type = builtins.typeOf value;
|
||||
in
|
||||
assert
|
||||
!(builtins.isFunction type)
|
||||
|| builtins.throw "Nix functions (${type}) have no correspoinding Lua representation.";
|
||||
{
|
||||
"null" = nullToLua;
|
||||
"bool" = boolToLua;
|
||||
|
|
Loading…
Reference in a new issue