mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This hooks up call argument position completion to the typeCheckForCodeCompletion API to generate completions from all the solutions the constraint solver produces (even those requiring fixes), rather than relying on a single solution being applied to the AST (if any). Co-authored-by: Nathan Hawes <nathan.john.hawes@gmail.com>
8 lines
176 B
Swift
8 lines
176 B
Swift
// RUN: %swift-ide-test -code-completion -source-filename %s -code-completion-token COMPLETE
|
|
|
|
func foo() {
|
|
bar {
|
|
.dragging(arg1: #^COMPLETE^#, arg2: drag ?? .zero)
|
|
}
|
|
}
|