nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.6.7
[nit.git]
/
tests
/
base_prot_sig2.nit
diff --git
a/tests/base_prot_sig2.nit
b/tests/base_prot_sig2.nit
index
9009a88
..
89fff9e
100644
(file)
--- a/
tests/base_prot_sig2.nit
+++ b/
tests/base_prot_sig2.nit
@@
-20,12
+20,12
@@
class C
#alt2#protected fun proA(a: A) do end
private fun priA(a: A) do end
#alt2#protected fun proA(a: A) do end
private fun priA(a: A) do end
- #alt3#var vpubA: nullable A writable
- #alt4#protected var vproA: nullable A protected writable
+ #alt3#var vpubA: nullable A is writable
+ #alt4#protected var vproA: nullable A is protected writable
private var vpriA: nullable A
private var vpriA: nullable A
- #alt5#var vpubA2 writable = new A
- #alt6#protected var vproA2 protected writable = new A
+ #alt5#var vpubA2 = new A is writable
+ #alt6#protected var vproA2 = new A is protected writable
private var vpriA2 = new A
init do end
private var vpriA2 = new A
init do end
@@
-35,10
+35,10
@@
private class D
fun pubA(a: A) do end
private fun priA(a: A) do end
fun pubA(a: A) do end
private fun priA(a: A) do end
- var vpubA: nullable A writable
+ var vpubA: nullable A is writable
private var vpriA: nullable A
private var vpriA: nullable A
- var vpubA2 writable = new A
+ var vpubA2 = new A is writable
private var vpriA2 = new A
init do end
private var vpriA2 = new A
init do end