Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / rterror_attr_def.nit
index 203f759..99093f7 100644 (file)
@@ -21,7 +21,7 @@ end
 
 class A
        var o: Object = 'c'
-       var a: I
+       var a: I is noinit
        var b: nullable I = null
        #alt2#var c: I = self.a
        #alt3#var d: I = self.b.as(not null)
@@ -45,6 +45,7 @@ class B
        fun foo
        do
                self.o.output
+               '\n'.output
                self.a.output
                self.b.output
                #alt2#self.c.output
@@ -57,3 +58,4 @@ end
 
 var b = new B
 b.foo
+'\n'.output