nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loader: `MModule::load` cause build_module_importation
[nit.git]
/
tests
/
test_deserialization.nit
diff --git
a/tests/test_deserialization.nit
b/tests/test_deserialization.nit
index
1360bf2
..
deb8997
100644
(file)
--- a/
tests/test_deserialization.nit
+++ b/
tests/test_deserialization.nit
@@
-26,6
+26,7
@@
class A
var i = 123
var s = "asdf"
var n: nullable Int
var i = 123
var s = "asdf"
var n: nullable Int
+ var password = "p4ssw0rd" is lazy, noserialize
init(b: Bool, c: Char, f: Float, i: Int, s: String, n: nullable Int)
do
init(b: Bool, c: Char, f: Float, i: Int, s: String, n: nullable Int)
do
@@
-36,7
+37,7
@@
class A
self.s = s
end
self.s = s
end
- redef fun to_s do return "<A: {b} {c} {f} {i} {s} {n != null}>"
+ redef fun to_s do return "<A: {b} {c} {f} {i} {s} {n != null} {password}>"
end
# Sub-class of A
end
# Sub-class of A