aboutsummaryrefslogtreecommitdiff
path: root/example.tsl
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-23 02:42:13 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-23 02:42:13 +0200
commitfbcee9484d51d7cdf2921fdbb2ff12639337335d (patch)
treebb1aa8eb8df94d7ca4898843d5432010337830ea /example.tsl
parente7c8a04078261b331b00490ffbffd9ff05d1e0d0 (diff)
Make parenthesis optional in function if there are no parameters
Diffstat (limited to 'example.tsl')
-rwxr-xr-xexample.tsl2
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)
}
}