Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions tests/syntax_tests/data/printer/comments/docCommentAttributes.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/** Doc comment */
@a @b
external f: unit => unit = "f"

/* Normal comment */
@a @b
external f: unit => unit = "f"

/**
Doc comment Doc comment Doc comment Doc comment Doc comment
Doc comment Doc comment Doc comment Doc comment Doc comment
*/
@a @b
external f: unit => unit = "f"

/*
Normal comment Normal comment Normal comment Normal comment Normal comment
Normal comment Normal comment Normal comment Normal comment Normal comment
*/
@a @b
external f: unit => unit = "f"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/** Doc comment */
@a @b
external f: unit => unit = "f"

/* Normal comment */
@a @b
external f: unit => unit = "f"

/**
Doc comment Doc comment Doc comment Doc comment Doc comment
Doc comment Doc comment Doc comment Doc comment Doc comment
*/
@a @b
external f: unit => unit = "f"

/*
Normal comment Normal comment Normal comment Normal comment Normal comment
Normal comment Normal comment Normal comment Normal comment Normal comment
*/
@a @b
external f: unit => unit = "f"
Loading