nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: filter out readline on OSX
[nit.git]
/
tests
/
rterror_null_receiver.nit
diff --git
a/tests/rterror_null_receiver.nit
b/tests/rterror_null_receiver.nit
index
481973b
..
7c8bd9c
100644
(file)
--- a/
tests/rterror_null_receiver.nit
+++ b/
tests/rterror_null_receiver.nit
@@
-15,9
+15,9
@@
# limitations under the License.
import kernel
# limitations under the License.
import kernel
-
class A
class A
- readable writable var _foo: Int = 1
+ var foo: Int = 1
+ var bar: Int = 2
end
var a: nullable A = null
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
#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