Skip to content

Commit 71651b0

Browse files
authored
Merge pull request #72032 from DougGregor/full-throws-is-experimental
Move `FullTypedThrows` from "upcoming" to "experimental"
2 parents 6fbc06e + 1171505 commit 71651b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ UPCOMING_FEATURE(DisableOutwardActorInference, 401, 6)
140140
UPCOMING_FEATURE(InternalImportsByDefault, 409, 6)
141141
UPCOMING_FEATURE(IsolatedDefaultValues, 411, 6)
142142
UPCOMING_FEATURE(GlobalConcurrency, 412, 6)
143-
UPCOMING_FEATURE(FullTypedThrows, 413, 6)
144143
UPCOMING_FEATURE(InferSendableFromCaptures, 418, 6)
145144
UPCOMING_FEATURE(ImplicitOpenExistentials, 352, 6)
146145

@@ -153,6 +152,7 @@ EXPERIMENTAL_FEATURE(FlowSensitiveConcurrencyCaptures, false)
153152
EXPERIMENTAL_FEATURE(CodeItemMacros, false)
154153
EXPERIMENTAL_FEATURE(BodyMacros, true)
155154
EXPERIMENTAL_FEATURE(TupleConformances, false)
155+
EXPERIMENTAL_FEATURE(FullTypedThrows, true)
156156

157157
// Whether to enable @_used and @_section attributes
158158
EXPERIMENTAL_FEATURE(SymbolLinkageMarkers, true)

test/stmt/typed_throws.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-typecheck-verify-swift -enable-upcoming-feature FullTypedThrows
1+
// RUN: %target-typecheck-verify-swift -enable-experimental-feature FullTypedThrows
22

33
enum MyError: Error {
44
case failed

0 commit comments

Comments
 (0)