Skip to content

[CodeCompletion] Fix assertion failure if completing in a macro call argument #64503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Mar 21, 2023

rdar://106966610

@ahoppen
Copy link
Member Author

ahoppen commented Mar 21, 2023

@swift-ci Please smoke test

@@ -1419,3 +1419,22 @@ func testRdar89773376(arry: [Int]) {
// RDAR89773376-DAG: Decl[Constructor]/CurrNominal/Flair[ArgLabels]: ['(']{#intVal: Int#}[')'][#Rdar89773376#];
// RDAR89773376: End completions
}

// This is in incomplete macro definition but it's sufficient to get the signature for code completion purposes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit pick: in -> an

Suggested change
// This is in incomplete macro definition but it's sufficient to get the signature for code completion purposes
// This is an incomplete macro definition but it's sufficient to get the signature for code completion purposes

@ahoppen ahoppen force-pushed the ahoppen/macro-call-arg-completion branch from 26305c4 to 35871c2 Compare March 21, 2023 20:41
@ahoppen
Copy link
Member Author

ahoppen commented Mar 21, 2023

@swift-ci Please clean smoke test

@ahoppen ahoppen merged commit e47f72c into swiftlang:main Mar 22, 2023
@ahoppen ahoppen deleted the ahoppen/macro-call-arg-completion branch March 22, 2023 20:40
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