mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
535 B
Swift
11 lines
535 B
Swift
// {"kind":"typecheck","original":"5b785ef0","signature":"swift::ASTWalker::PreWalkResult<swift::Expr*> (anonymous namespace)::Verifier::dispatchVisitPreExpr<swift::OpenExistentialExpr*>(swift::OpenExistentialExpr*)","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
extension Dictionary {
|
|
a(b: Sequence)
|
|
{
|
|
{
|
|
for c d b {
|
|
var values =
|
|
[] ?? {
|
|
values.append(c
|