mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
484 B
Swift
6 lines
484 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::RequirementFailure::RequirementFailure(swift::constraints::Solution const&, swift::Type, swift::Type, swift::constraints::ConstraintLocator*)","signatureAssert":"Assertion failed: (getRequirementDC() && \"Couldn't find where the requirement came from?\"), function RequirementFailure"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a{associatedtype b} extension a where b == {
|
|
protocol c var d : c {
|
|
d
|