aboutsummaryrefslogtreecommitdiff
path: root/src/Fun/Tree.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fun/Tree.hs')
-rw-r--r--src/Fun/Tree.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fun/Tree.hs b/src/Fun/Tree.hs
index 7b87853..943ecc3 100644
--- a/src/Fun/Tree.hs
+++ b/src/Fun/Tree.hs
@@ -59,6 +59,7 @@ data FunctionArgument = FunctionName String | FunctionInfixName String | Functio
----
-- TODO: This can be optimized
+-- TODO: Respect visibility
getFunction :: Tree -> String -> FunctionSignature -> Maybe Block
getFunction (Tree ps) f sig =
let fromProgram (Program bs) =