mirror of
https://github.com/apple/swift.git
synced 2026-10-28 21:15:56 +01:00
13 lines
520 B
Swift
13 lines
520 B
Swift
// {"kind":"typecheck","original":"e0669768","signature":"swift::ArgumentList::getSourceRange() const","signatureAssert":"Assertion failed: (Start.isValid() == End.isValid() && \"Start and end should either both be valid or both be invalid!\"), function SourceRange","signatureNext":"Dispatch::getSourceRange"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@dynamicMemberLookup class a {
|
|
struct b {
|
|
c: Int
|
|
}
|
|
c,
|
|
func d
|
|
{
|
|
c
|
|
}
|
|
subscript<e>(dynamicMember f: KeyPath<b, e>) e
|