mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If the type still has type variables, avoid trying to check if it's escapable. rdar://148749815
10 lines
188 B
Swift
10 lines
188 B
Swift
// RUN: %batch-code-completion
|
|
|
|
// https://github.com/apple/swift/issues/80591
|
|
|
|
// Just make sure we don't crash.
|
|
var foo: Bool {
|
|
baz == .#^COMPLETE^#
|
|
// COMPLETE: Begin completions
|
|
}
|