Alek Ratzloff 40a10fa00e Add Obj.__init__ and Obj.__call__, fix how __call__ works on Ty
* Obj.__call__ should generically call Obj.__init__, passing along the
  arguments given to __call__
* Ty::call function (in Rust) sets up the stack frame correctly now.
  Before, the only arguments visible to a `Ty.__call__` function would
  have been the values passed to it. However, the Ty.__call__ also needs
  *itself* passed to the __call__ function so we can retrieve the
  __init__ function and eventually end up calling that.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-10-07 15:24:06 -07:00
2024-10-04 11:11:46 -07:00
2024-10-04 11:11:46 -07:00
Description
No description provided
804 KiB
Languages
Rust 95.5%
Python 4.2%
Shell 0.3%