Files
swift-mirror/test/Constraints
Slava Pestov f05d1cab32 Sema: Fix crash when declaring an old-style variadic parameter with nonescaping type
This is not supported for the same reason you can't have a noncopyable
variadic parameter, but the code was hard-coded to check for copyability
only.

Generalize this to apply the generic signature for Array via the
common code path, and add a custom note to explain why those requirements
are checked in the first place.

Cleaning this up also fixed some fuzzer crashes.

Reported on the forums:
https://forums.swift.org/t/variadic-escapable-arguments-crash-the-compiler/86727/2
2026-05-18 10:49:23 -04:00
..
2026-03-29 23:23:18 -04:00
2026-03-29 23:23:18 -04:00
2026-03-29 23:23:18 -04:00
2026-03-10 14:47:30 -04:00
2025-02-12 10:53:33 -08:00
2026-03-21 08:48:47 -04:00
2024-10-31 11:32:40 +00:00
2026-03-29 23:23:18 -04:00
2024-10-31 11:32:40 +00:00
2026-03-29 23:23:18 -04:00