Skip to content

Conversation

@hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Mar 28, 2023

5.9 cherry-pick of #1453 + #1438

Low risk bug fix for a missing diagnostic.


Switch loops that used parseCodeBlockItem without semicolon checking over to using parseCodeBlockItemList.

Resolves #1452
rdar://107265306

@hamishknight hamishknight requested a review from ahoppen as a code owner March 28, 2023 18:10
ahoppen and others added 3 commits March 28, 2023 20:57
I think they were uppercase because they used to be called `XCTAssert*` but really it’s against all naming guidelines to start a Swift function with an uppercase letter.
…closures, switches, and getters

Switch loops that used `parseCodeBlockItem` without
semicolon checking over to using `parseCodeBlockItemList`.
Pass through `isAtTopLevel` and `allowInitDecl`
parameters, which allow for better diagnostics.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit c52427a into swiftlang:release/5.9 Mar 29, 2023
@hamishknight hamishknight deleted the outliner-5.9 branch March 29, 2023 13:17
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.

2 participants