Support class and basic user-creatable types
mental32 opened this issue · 0 comments
mental32 commented
Allow the following to be valid code:
class Foo:
pass
def make_foo() -> Foo:
return Foo()
def main():
make_foo()
once that is working let's do associated methods:
class Foo:
- pass
+ def bar(self) -> Foo: return self