Files
swift-mirror/validation-test/compiler_crashers_2/9ebf7cbda04a5be8.swift
2025-09-08 08:16:31 +01:00

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