X-Git-Url: http://nitlanguage.org diff --git a/tests/base_prot_sig2.nit b/tests/base_prot_sig2.nit index 9009a88..23f8e73 100644 --- 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 - #alt3#var vpubA: nullable A writable - #alt4#protected var vproA: nullable A protected writable - private var vpriA: nullable A + #alt3#var vpubA: nullable A is writable, noinit + #alt4#protected var vproA: nullable A is protected writable, noinit + private var vpriA: nullable A is noinit - #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 @@ -35,10 +35,10 @@ private class D fun pubA(a: A) do end private fun priA(a: A) do end - var vpubA: nullable A writable - private var vpriA: nullable A + var vpubA: nullable A is writable, noinit + private var vpriA: nullable A is noinit - var vpubA2 writable = new A + var vpubA2 = new A is writable private var vpriA2 = new A init do end