Open
Description
The language offers Operator Kinds for MEMBER_SETTER and MEMBER_GETTER.
However, currently they are not parsed properly, therefore we want to create and fix a simple test to test them (or maybe two test cases that each test one of them).
Acceptance criteria:
- Test for member-getter passes
- Test for member-setter passes
The Test case should look like this:
#output: value for Hello
#output: Setting this['Hello'] = 'World'
public class MyClass {
private val values = {} as string[string];
public .(member: string): string => "value for " + member;
public .=(member: string, value: string): void => println("Setting this." + member + " = '" + value + "';
}
var cls = new MyClass();
println(cls.Hello);
cls.Hello = "World";