Implement Python class method declarations

This commit is contained in:
Shunsuke Shibayama 2022-09-30 18:21:18 +09:00
parent e4c61392d2
commit 33edcd2e1c
7 changed files with 141 additions and 4 deletions

View file

@ -1,3 +1,5 @@
declare = pyimport "declare"
print! declare.f(declare.x + 1)
c = declare.C.__call__ 1
print! c.f(1)