Skip to content

[CodeCompletion] Migrate postfix expr completion to solver-based #42280

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Apr 9, 2022

No description provided.

@ahoppen ahoppen force-pushed the pr/migrate-postfix-completion-solver-based branch 2 times, most recently from 11be747 to ae5bb41 Compare April 13, 2022 07:32
ahoppen added 8 commits June 30, 2022 12:33
# Conflicts:
#	include/swift/Sema/IDETypeChecking.h
#	lib/IDE/CodeCompletion.cpp
#	test/IDE/complete_enum_elements.swift
#	test/IDE/complete_value_expr.swift
# Conflicts:
#	lib/IDE/CodeCompletion.cpp
Fixed by adding

```
if (ctx.CompletionContext) {
  options |= ConstraintSystemFlags::ForCodeCompletion;
}
```

in BuilderTransform.cpp:1581 (after `ConstraintSystemOptions options = ConstraintSystemFlags::AllowFixes`)
@ahoppen ahoppen force-pushed the pr/migrate-postfix-completion-solver-based branch from ae5bb41 to 740075d Compare July 1, 2022 08:27
@ahoppen
Copy link
Member Author

ahoppen commented Jul 1, 2022

@swift-ci Please smoke test macOS

@ahoppen
Copy link
Member Author

ahoppen commented Jul 1, 2022

@swift-ci Please SourceKit stress test

@ahoppen
Copy link
Member Author

ahoppen commented Mar 17, 2023

This is now part of #63717

@ahoppen ahoppen closed this Mar 17, 2023
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