Skip to content

Conversation

@hnrklssn
Copy link
Member

This adds support for the following case:

expected-expansion@:1:2{{
  expected-warning@3{{foo}}
  expected-sometimes-warning@4{{bar}}
  expected-warning@5{{foobar}}
}}

This would work when parsing the additional "sometimes-" prefix, but for invokations that didn't parse that prefix the "}}" on that line would close the expansion, and expected-warning@5{{foobar}} would be parsed as a top level statement.

This adds support for the following case:
```
expected-expansion@:1:2{{
  expected-warning@3{{foo}}
  expected-sometimes-warning@4{{bar}}
  expected-warning@5{{foobar}}
}}
```
This would work when parsing the additional "sometimes-" prefix, but for
invokations that didn't parse that prefix the "}}" on that line would
close the expansion, and `expected-warning@5{{foobar}}` would be parsed
as a top level statement.
@hnrklssn hnrklssn requested a review from j-hui January 31, 2026 06:26
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant