mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make sure we don't try to set an UnresolvedType as a VarDecl interface type in WithSolutionSpecificVarTypesRAII.
8 lines
509 B
Swift
8 lines
509 B
Swift
// {"kind":"complete","original":"03137cdb","signature":"swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::constraints::SyntacticElementTarget)","signatureAssert":"Assertion failed: (isValidType(type) && \"type binding has invalid type\"), function applySolution"}
|
|
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
|
|
@propertyWrapper struct a<b {
|
|
wrappedValue: b
|
|
}
|
|
{
|
|
@a var c #^^#
|