charly-vm icon indicating copy to clipboard operation
charly-vm copied to clipboard

Allow omitting func keyword in class function declarations

Open KCreate opened this issue 3 years ago • 0 comments

class Person {
  property name
  property age

  greet {
    print("hello {name} you're {age} years old!")
  }

  static clone(other) {
    Person(other.name, other.age)
  }
}

KCreate avatar Apr 04 '22 22:04 KCreate