mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Unresolved type attached to expressions may fail re-typechecking. Also, disallow unresolved type in typeCheckCompletionSequence(). It doesn't provide useful completions to developers. rdar://problem/41224316
7 lines
166 B
Swift
7 lines
166 B
Swift
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
|
|
// REQUIRES: asserts
|
|
|
|
func test(str: String?) {
|
|
_ = str == nil #^A^#
|
|
}
|