mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
7 lines
374 B
Swift
7 lines
374 B
Swift
// {"kind":"typecheck","signature":"swift::ExistentialArchetypeType::get(swift::CanType)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a where b == Self
|
|
protocol c : a where Self
|
|
: CustomStringConvertible
|
|
var d e c.description
|