nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/inkscape_tools: add alternative code generation for gamnit target
[nit.git]
/
tests
/
base_nullable.nit
diff --git
a/tests/base_nullable.nit
b/tests/base_nullable.nit
index
d4cdefe
..
078421c
100644
(file)
--- a/
tests/base_nullable.nit
+++ b/
tests/base_nullable.nit
@@
-17,15
+17,15
@@
import kernel
class A
- var _i: Int
+ var i: Int
init (i: Int) do _i = i
redef fun output do _i.output
end
-var a: A
-var na: nullable A
-var o: Object
-var no: nullable Object
+
+
+
+
var a: A = new A(1)
var na: nullable A = new A(2)