From db0bbf713b48a51a23bce9bbc8e9dc04ad754efc Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 8 Apr 2019 09:37:47 +0200 Subject: [PATCH] We need to fix callbacks. --- TODO | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TODO b/TODO index 31d661c..dbc5cca 100644 --- a/TODO +++ b/TODO @@ -8,3 +8,7 @@ Below list contains things that should be changed/fixed/implemented. 2. All builtin functions should be reworked. Actually they can return any value, sometimes of different type than declared. This causes errors during script execution. + +3. Callback variable type is broken. + * Builtin functions expect a string or hashmap instead of callback, thus closures are not executed at all. + * Callback takes a string with function name or closure definition. How to call other methods?