Files
swift-mirror/validation-test/IDE/crashers_2_fixed/rdar41224316.swift
Rintaro Ishizaki c68157a27d [CodeCompletion] Remove unresolved type in prepareForRetypechecking()
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
2018-08-15 20:39:12 +09:00

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^#
}