X-Git-Url: http://nitlanguage.org diff --git a/tests/syntax_annotations2.nit b/tests/syntax_annotations2.nit index 740a262..f9db84c 100644 --- a/tests/syntax_annotations2.nit +++ b/tests/syntax_annotations2.nit @@ -27,9 +27,9 @@ end class A annot super Toto is annot - super Toto is annot, annot2 - super Toto is - annot + super Tata is annot, annot2 + super Titi is + annot # comment annot2 end fun foo1 is @@ -38,7 +38,7 @@ class A var x: Toto@foo end fun foo2 is annot - fun foo3 is annot, annot2 + fun foo3 is annot, annot2 # comment fun foo4 is annot annot2 @@ -50,5 +50,32 @@ class A end end -class Toto +interface Toto +end +interface Tata +end +interface Titi +end + +fun baz1 is +end +fun baz2 is + # comment + + # comment +end +fun baz3 is + # comment + + # doc + annot #comment + + # comment + + # comment + + annot2 + # doc2 bis + annot2 + # comment end