Skip to content

Commit 6a7b8ed

Browse files
committed
fix nested comments case
1 parent f54e44f commit 6a7b8ed

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

formatTest/unit_tests/input/comments.re

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
* Multiline comment
33
*/
44

5+
/*
6+
7+
8+
*/
9+
510
/*
611
* Multiline comment with a // single line comment
712
*/
813
// Single line comment
9-
// Single line comment with a multiline /* starting
1014
let testPostComment = "";
1115
// let commentedCode = "";
1216

@@ -42,7 +46,7 @@ let x = {
4246
// /* this is a valid nested comment*/ this is a valid comment
4347

4448

45-
// valid /* this is a valid comment
49+
// valid /* this is a valid comment */
4650

4751
let z = 10;
4852

0 commit comments

Comments
 (0)