1
0
Fork 0

Add support for omitting semicolons after blocks

This commit is contained in:
Vili Sinervä 2025-01-31 18:53:35 +02:00
parent 000fa5b77b
commit a2f96cc8df
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 15 additions and 4 deletions

View file

@ -450,7 +450,7 @@ fn test_omitting_semicolons() {
Box::new(Block(vec![Identifier("a")])),
None
),
Block(vec![Identifier("b")]),
Identifier("b"),
])
);
@ -463,7 +463,7 @@ fn test_omitting_semicolons() {
Box::new(Block(vec![Identifier("a")])),
None
),
Block(vec![Identifier("b")]),
Identifier("b"),
])
);
@ -476,7 +476,7 @@ fn test_omitting_semicolons() {
Box::new(Block(vec![Identifier("a")])),
Some(Box::new(Block(vec![Identifier("b")])))
),
Block(vec![Identifier("c")]),
Identifier("c"),
])
);