Closed KCreate closed 7 years ago
Allow defining constant functions in objects
Syntax:
class Person { const func greet() { # write code }; }; let me = Person(); me.greet = 25 # RunTimeError: Can't overwrite constant
Implemented on master
Allow defining constant functions in objects
Syntax: