mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
6 lines
355 B
Swift
6 lines
355 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::ContextualFailure::diagnoseConversionToBool() const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@propertyWrapper struct a {
|
|
wrappedValue : Bool {
|
|
@a var b : Int
|