| Product(s) | Karo.NET Compiler |
|---|
It isn't possible to assign to a variable marked with the sl.attributes::readOnly attribute.
[private]
[readOnly]
test: int = 1;
testMethod ||: void {
10 -> test;
// ^^^^ Tried assigning to a readonly variable.
}
Remove the sl.attributes::readOnly attribute or avoid assigning to it.