mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The invalid bit on PatternBindingDecl is very coarse grained, it means any of the possible binding entries could be invalid. Contextualization can handle invalid code anyway (e.g this is what we do for `typeCheckBody`), so let's just avoid checking.
5 lines
307 B
Swift
5 lines
307 B
Swift
// {"kind":"typecheck","signature":"(anonymous namespace)::ActorIsolationChecker::checkLocalCaptures(swift::AnyFunctionRef)","signatureAssert":"Assertion failed: (Captures.hasBeenComputed()), function getCaptureInfo"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
struct a {
|
|
b : c =, d = {} protocol c
|