summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/setter-method.slang.expected
blob: 0c2b5a2c91f7951f3d43ba4c8868abf92fd20e4d (plain)
1
2
3
4
5
6
7
8
9
result code = -1
standard error = {
tests/diagnostics/setter-method.slang(16): error 30011: left of '=' is not an l-value.
tests/diagnostics/setter-method.slang(16): note 30049: a 'this' parameter is an immutable parameter by default in Slang; apply the `[mutating]` attribute to the function declaration to opt in to a mutable `this`
tests/diagnostics/setter-method.slang(21): error 30011: left of '=' is not an l-value.
tests/diagnostics/setter-method.slang(21): note 30049: a 'this' parameter is an immutable parameter by default in Slang; apply the `[mutating]` attribute to the function declaration to opt in to a mutable `this`
}
standard output = {
}