Skip to content

Commit 0baa5b9

Browse files
committed
Typed throws is enabled by default, we don't need to opt in
1 parent b0029b2 commit 0baa5b9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ add_swift_target_library(swift_Concurrency ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} I
169169
SWIFT_COMPILE_FLAGS
170170
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
171171
-parse-stdlib
172-
-enable-experimental-feature TypedThrows
173172
-diagnostic-style swift
174173
${SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS}
175174
${swift_concurrency_options}
@@ -256,7 +255,6 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
256255

257256
SWIFT_COMPILE_FLAGS
258257
${extra_swift_compile_flags} -enable-experimental-feature Embedded
259-
-enable-experimental-feature TypedThrows
260258
-parse-stdlib -DSWIFT_CONCURRENCY_EMBEDDED
261259
${SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS}
262260
C_COMPILE_FLAGS

test/Concurrency/async_iterator_inference.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -strict-concurrency=complete -emit-sil -o /dev/null %s -verify -enable-experimental-feature TypedThrows
1+
// RUN: %target-swift-frontend -strict-concurrency=complete -emit-sil -o /dev/null %s -verify
22
// REQUIRES: concurrency
33

44
@available(SwiftStdlib 5.1, *)

0 commit comments

Comments
 (0)