Files
swift-mirror/validation-test/compiler_crashers_fixed/MissingArgumentsFailure-diagnoseAsError-555e95.swift
Kathy Gray 90603c0dc9 [crashers] add missing getFunctionArgApplyInfo null checks
Result of getFunctionArgApplyInfo can be null and a few callers failed to check
and return false accordingly; corrected these missed patterns.

Some internal accesses could also receive null and failed to check, added
checks and returned null in these circumstances. 

A few more checks are needed but don't seem to be causing crashes now.
2026-06-17 10:25:58 +01:00

5 lines
292 B
Swift

// {"kind":"typecheck","original":"74e5f02c","signature":"swift::constraints::MissingArgumentsFailure::diagnoseAsError()","signatureNext":"AddMissingArguments::diagnose"}
// RUN: not %target-swift-frontend -typecheck %s
func a<each c, d, e>(repeat (each c, d) -> e, repeat each c)
a(repeat b