lua: metatable dispatch (__index/__newindex/arith/cmp/__call/__len) +23 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
This commit is contained in:
@@ -104,7 +104,9 @@
|
||||
(node)
|
||||
(let
|
||||
((fn-ast (nth node 1)) (args (nth node 2)))
|
||||
(cons (lua-tx fn-ast) (map lua-tx args)))))
|
||||
(cons
|
||||
(make-symbol "lua-call")
|
||||
(cons (lua-tx fn-ast) (map lua-tx args))))))
|
||||
|
||||
(define
|
||||
lua-tx-method-call
|
||||
@@ -115,8 +117,10 @@
|
||||
(name (nth node 2))
|
||||
(args (nth node 3)))
|
||||
(cons
|
||||
(list (make-symbol "lua-get") obj name)
|
||||
(cons obj (map lua-tx args))))))
|
||||
(make-symbol "lua-call")
|
||||
(cons
|
||||
(list (make-symbol "lua-get") obj name)
|
||||
(cons obj (map lua-tx args)))))))
|
||||
|
||||
(define
|
||||
lua-tx-field
|
||||
|
||||
Reference in New Issue
Block a user