File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Bicep.Core.IntegrationTests Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4245,6 +4245,19 @@ param appsettings object
42454245 result . Should ( ) . NotHaveAnyDiagnostics ( ) ;
42464246 }
42474247
4248+ // https://github.com/Azure/bicep/issues/9855
4249+ [ TestMethod ]
4250+ public void Test_Issue9855 ( )
4251+ {
4252+ var result = CompilationHelper . Compile ( @"
4253+ /*************
4254+ * BLOCK *
4255+ **************/
4256+ " ) ;
4257+
4258+ result . Should ( ) . NotHaveAnyDiagnostics ( ) ;
4259+ }
4260+
42484261 // https://github.com/Azure/bicep/issues/9469
42494262 [ TestMethod ]
42504263 public void Test_Issue9469 ( )
Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ private SyntaxTrivia ScanMultiLineComment()
544544 var nextChar = textWindow . Peek ( ) ;
545545 textWindow . Advance ( ) ;
546546
547- if ( nextChar != '*' )
547+ if ( nextChar != '*' || textWindow . Peek ( ) != '/' )
548548 {
549549 continue ;
550550 }
You can’t perform that action at this time.
0 commit comments