fix seg fault when callng a function with not enough parameters

This commit is contained in:
William Bell
2025-10-22 03:52:47 +01:00
parent a9b1d23f79
commit b6714b390a
6 changed files with 13 additions and 5 deletions

5
tests/class_method.ar Normal file
View File

@@ -0,0 +1,5 @@
string.cool(self) = do
term.log(self, self.length)
return 10
'hello world'.cool()
string.cool('goodbye world')