unified: Fix broken block syntax

The original test was not valid Swift syntax
This commit is contained in:
Asger F
2026-07-02 17:09:31 +02:00
parent a86c7ba422
commit 6ea146f65b

View File

@@ -40,9 +40,9 @@ func t6(x: Int) -> Int { // name=x1
// Nested blocks
func t7() {
let x = 1 // name=x1
{
print(x) // $ MISSING: access=x1
let x = 1; // name=x1
do {
print(x) // $ access=x1
let x = 2 // name=x2
print(x) // $ access=x2
}