nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/serialization: let refinements and subclasses access caches
[nit.git]
/
tests
/
test_undead.nit
diff --git
a/tests/test_undead.nit
b/tests/test_undead.nit
index
6d7950a
..
be6ee44
100644
(file)
--- a/
tests/test_undead.nit
+++ b/
tests/test_undead.nit
@@
-17,17
+17,17
@@
import kernel
class A
- meth foo
+ fun foo
do
1.output
end
- meth bar: Int
+ fun bar: Int
do
return 2
end
end
-var a: A
+var a: nullable A = null
if a != null then
a.foo
a.bar.output