Files
swift-mirror/validation-test/compiler_crashers_fixed/ConstraintGraph-computeConnectedComponents-57c387.swift
Hamish Knight 61a5ae8e01 [CS] Eagerly bind hole in recordInvalidNode
We know this is where the issue is so we can immediately bind to a hole,
ensuring we don't produce unnecessary downstream diagnostics from
things we can't infer.
2025-11-16 11:47:21 +00:00

5 lines
356 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ConstraintGraph::computeConnectedComponents(llvm::ArrayRef<swift::TypeVariableType*>)","signatureAssert":"Assertion failed: (component != components.end()), function operator()"}
// RUN: not %target-swift-frontend -typecheck %s
let i = Array(... a { " ? \(i Array* )" }
, b 1