mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
578 B
Swift
11 lines
578 B
Swift
// {"kind":"typecheck","signature":"swift::TypeBase::getContextSubstitutions(swift::DeclContext const*, swift::GenericEnvironment*)","signatureAssert":"Assertion failed: (0 && \"Bad base type\"), function getContextSubstitutions"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
struct a< b {
|
|
@propertyWrapper struct c {
|
|
var wrappedValue
|
|
projectedValue : a
|
|
init(projectedValue
|
|
a) {
|
|
func d(@c b) d($e
|
|
: f
|