Files
swift-mirror/validation-test/IDE/crashers_2_fixed/sr8568.swift
Rintaro Ishizaki 592b5de206 [CodeCompletion] Remove a wrong assert()
`CS.solve()` with `FreeTypeVariableBinding::Disallow` still may emit
unresolved type. e.g. `DeclRefExpr` to decl with unresolved type.

https://bugs.swift.org/browse/SR-8568
rdar://problem/43433253
2018-08-20 19:50:09 +09:00

10 lines
194 B
Swift

// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
struct S<T> {}
func use<T>(x: (S<T>) -> Void) {}
func test() {
use { $0 #^COMPLETE^# }
}