Files
swift-mirror/validation-test/compiler_crashers_fixed/formatDiagnosticArgument-9967f3.swift
Pavel Yaskevich 58678a67f8 [CSSimplify] Don't attempt overload choices of all call arguments are invalid
Short-circuit calls where all arguments are invalid, otherwise the
solver would end up producing a solution for every overload which
it cannot disambiguate which quickly turns into "too complex" situation.
2026-06-01 11:28:19 -07:00

4 lines
464 B
Swift

// {"kind":"typecheck","signature":"formatDiagnosticArgument(llvm::StringRef, llvm::StringRef, llvm::ArrayRef<swift::DiagnosticArgument>, unsigned int, swift::DiagnosticFormatOptions, llvm::raw_ostream&)","signatureAssert":"Assertion failed: (Ptr && \"Cannot dereference a null Type!\"), function operator->","signatureNext":"DiagnosticEngine::formatDiagnosticText"}
// RUN: not %target-swift-frontend -typecheck %s
@propertyWrapper struct a func b(@a Int) b($c:d