summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-26 22:48:46 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-26 22:48:46 -0400
commit2d50e875f98993fc77350c470774d800f13f7170 (patch)
tree7fddb7a897576081bf490f62e0168b842f2cb844 /tnslc/simple.tnsl
parent6aa8c17b281eb0c8785bb76449bad428b6b3fdd6 (diff)
Order of operations fix for eval_value
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index 0a419c8..cd17121 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -3,8 +3,12 @@
{}uint8 str2 = "abcd"
/; method Test
+ /; mamba [int]
+ return 0
+ ;/
+
/; wamba [int]
- return self.i + self.j
+ return self.i + self.j + self.mamba()
;/
;/