mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
`getAsNominalTypeOrNominalTypeExtensionContext()` requires fully parsed AST. Use `isTypeContext()` instead. https://bugs.swift.org/browse/SR-8554 rdar://problem/43394866
6 lines
144 B
Swift
6 lines
144 B
Swift
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
|
|
|
|
extension UnknownTy {
|
|
var #^COMPLETE^#
|
|
}
|