aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-10 14:52:20 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-10 14:52:20 +0000
commitc0ab54600e29a2b8ba318df8c9b76e89897db7fe (patch)
treee6608dcb131429ae1d606156d5e5897a3962e74b /lib
parentreorganization (diff)
downloadalive-c0ab54600e29a2b8ba318df8c9b76e89897db7fe.tar.gz
alive-c0ab54600e29a2b8ba318df8c9b76e89897db7fe.zip
finally implement function diffing
Diffstat (limited to 'lib')
-rw-r--r--lib/builtin.moon1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/builtin.moon b/lib/builtin.moon
index b4d6dc7..f6cde1a 100644
--- a/lib/builtin.moon
+++ b/lib/builtin.moon
@@ -82,7 +82,6 @@ class fn extends Action
assert #tail == 2, "'fn' takes exactly two arguments"
{ params, body } = tail
-
assert params.__class == Cell, "'fn's first argument has to be an expression"
param_symbols = for param in *params.children
assert param.type == 'sym', "function parameter declaration has to be a symbol"