From: Jean Privat Date: Mon, 26 Aug 2019 21:09:44 +0000 (-0400) Subject: tests: add comments in syntax_annotations2.nit X-Git-Url: http://nitlanguage.org tests: add comments in syntax_annotations2.nit Signed-off-by: Jean Privat --- diff --git a/tests/syntax_annotations2.nit b/tests/syntax_annotations2.nit index 18dec64..f9db84c 100644 --- a/tests/syntax_annotations2.nit +++ b/tests/syntax_annotations2.nit @@ -29,7 +29,7 @@ class A super Toto is annot super Tata is annot, annot2 super Titi is - annot + 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 @@ -56,3 +56,26 @@ 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