aboutsummaryrefslogtreecommitdiff
path: root/src/Fun/Syntax.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fun/Syntax.hs')
-rw-r--r--src/Fun/Syntax.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fun/Syntax.hs b/src/Fun/Syntax.hs
index c426a03..1c4846c 100644
--- a/src/Fun/Syntax.hs
+++ b/src/Fun/Syntax.hs
@@ -10,7 +10,7 @@ mergeSyntax :: [Either [SyntaxError] a] -> ([a] -> b) -> Either [SyntaxError] b
mergeSyntax d c | any isLeft d = Left $ concat $ lefts d
| otherwise = Right $ c $ rights d
--- TODO: Disallow same declarations in entire tree (w/o visibility)
+-- TODO: Overloading only if first element is different
checkFunctionArity :: Block -> Either [SyntaxError] Block
checkFunctionArity (FunctionBlock decl defns) =