Fix calling no-arg dotget functions #37

Merged
defunkt merged 1 commits from no-args-bug into main 2025-11-09 00:01:58 +00:00
Owner

This fixes dotgets not calling functions, eg:

# before:
abc = [go=do: true end]
echo (abc.go)
#=> <function>

rnd = math.random
echo rnd
#=> <function>

# after:
abc = [go=do: true end]
echo (abc.go)
#=> true

rnd = math.random
echo rnd
#=> 0.9287386474437939
This fixes dotgets not calling functions, eg: ``` # before: abc = [go=do: true end] echo (abc.go) #=> <function> rnd = math.random echo rnd #=> <function> # after: abc = [go=do: true end] echo (abc.go) #=> true rnd = math.random echo rnd #=> 0.9287386474437939 ```
defunkt added 1 commit 2025-11-08 08:20:11 +00:00
defunkt force-pushed no-args-bug from 409aa9c34e to 0d1dce4868 2025-11-09 00:01:52 +00:00 Compare
defunkt merged commit 49f3f3e09f into main 2025-11-09 00:01:58 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: probablycorey/shrimp#37
No description provided.