X-Git-Url: http://nitlanguage.org diff --git a/tests/rterror_null_receiver.nit b/tests/rterror_null_receiver.nit index 481973b..7c8bd9c 100644 --- a/tests/rterror_null_receiver.nit +++ b/tests/rterror_null_receiver.nit @@ -15,9 +15,9 @@ # limitations under the License. import kernel - class A - readable writable var _foo: Int = 1 + var foo: Int = 1 + var bar: Int = 2 end var a: nullable A = null @@ -26,6 +26,6 @@ var a: nullable A = null #alt1#a.foo.output #alt2#a.foo = 1 #alt3#a.foo += 1 -#alt4#a._foo.output -#alt5#a._foo = 10 -#alt6#a._foo += 10 +#alt4#a._bar.output +#alt5#a._bar = 10 +#alt6#a._bar += 10