diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-23 02:42:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-23 02:42:13 +0200 |
commit | fbcee9484d51d7cdf2921fdbb2ff12639337335d (patch) | |
tree | bb1aa8eb8df94d7ca4898843d5432010337830ea /example.tsl | |
parent | e7c8a04078261b331b00490ffbffd9ff05d1e0d0 (diff) |
Make parenthesis optional in function if there are no parameters
Diffstat (limited to 'example.tsl')
-rwxr-xr-x | example.tsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example.tsl b/example.tsl index 861db41..756f246 100755 --- a/example.tsl +++ b/example.tsl @@ -90,7 +90,7 @@ value8 = fn (value) {} # setv "value9" value9 = { "hello": "world", - "sayHello": fn() { + "sayHello": fn { result = $(echo hello) } } |