Avatar
Avatar
shiz
@swift-6.1-dev @swift-6.0.3 class C {} func f() { isolated /* misused! */ let c = C() }
exit status: 1 with <stdin>:4:3: error: consecutive statements on a line must be separated by ';' 2 | 3 | func f() { 4 | isolated /* misused! */ let c = C() | `- error: consecutive statements on a line must be separated by ';' 5 | } 6 | <stdin>:4:3: error: cannot find 'isolated' in scope 2 | 3 | func f() { 4 | isolated /* misused! */ let c = C() | `- error: cannot find 'isolated' in scope 5 | } 6 |