mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Tuple extensions are still an experimental feature, but we have a number of crashers in the repo for them because we still use their type-checker machinery even when disabled. Change the logic here such that we reject them early in extension binding when the feature is disabled. This will ensure we address the crashers before productizing.
8 lines
291 B
Swift
8 lines
291 B
Swift
// {"kind":"complete","original":"61e9155a","signature":"swift::ide::CodeCompletionResultBuilder::takeResult()"}
|
|
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
|
|
extension ()
|
|
where
|
|
#^^# == <#type#>
|
|
{
|
|
}
|