Files
swift-mirror/validation-test/compiler_crashers_fixed/SyntacticElementConstraintGenerator-visitDecl-8830af.swift
Hamish Knight 0feacec63b [CS] Fix an over-eager assert
We can in fact have placeholders here if the type is bound to a hole.
2025-11-07 16:23:30 +00:00

12 lines
455 B
Swift

// {"kind":"typecheck","original":"25782df5","signature":"(anonymous namespace)::SyntacticElementConstraintGenerator::visitDecl(swift::Decl*)","signatureAssert":"Assertion failed: (!projectedTy->hasUnboundGenericType() && !projectedTy->hasPlaceholder()), function setPropertyWrapperAuxiliaryTypes"}
// RUN: not %target-swift-frontend -typecheck %s
@propertyWrapper
struct a<
b
> {
projectedValue : Self var wrappedValue: b
}
{
@a var c: <#type#>
}