mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Diagnose deployment constraints on type metadata involving typed throws
Fixes the rest of rdar://121530587.
This commit is contained in:
@@ -6735,6 +6735,11 @@ ERROR(availability_isolated_any_only_version_newer, none,
|
||||
"%0 %1 or newer",
|
||||
(StringRef, llvm::VersionTuple))
|
||||
|
||||
ERROR(availability_typed_throws_only_version_newer, none,
|
||||
"runtime support for typed throws function types is only available in "
|
||||
"%0 %1 or newer",
|
||||
(StringRef, llvm::VersionTuple))
|
||||
|
||||
ERROR(availability_variadic_type_only_version_newer, none,
|
||||
"parameter packs in generic types are only available in %0 %1 or newer",
|
||||
(StringRef, llvm::VersionTuple))
|
||||
|
||||
Reference in New Issue
Block a user