Skip to content

codegen: test assignment of functions/methods and later user of it #109

@delasy

Description

@delasy
obj Test {
  fn method (a: int) str {
    return a.str()
  }
}

t := Test{}
d := t.method
e := d(10)
print(d)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions