Skip to content

Commit 7446df0

Browse files
committed
[concurrency] UnspecifiedMeansMainActorIsolated tests as require asserts
Two test using an experimental feature UnspecifiedMeansMainActorIsolated are not marking as `REQUIRES: asserts` and are failing when asserts are disabled. Introduced in #76558
1 parent 961e6ea commit 7446df0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/Concurrency/assume_mainactor.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -swift-version 6 -emit-silgen -enable-experimental-feature UnspecifiedMeansMainActorIsolated %s | %FileCheck %s
22
// RUN: %target-swift-frontend -swift-version 6 -emit-sil -enable-experimental-feature UnspecifiedMeansMainActorIsolated %s -verify
33

4+
// REQUIRES: asserts
5+
46
// READ THIS! This test is meant to FileCheck the specific isolation when
57
// UnspecifiedMeansMainActorIsolated is enabled. Please do not put other types
68
// of tests in here.

test/Concurrency/assume_mainactor_typechecker_errors.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend -swift-version 6 -emit-sil -enable-experimental-feature UnspecifiedMeansMainActorIsolated %s -verify
22

3+
// REQUIRES: asserts
4+
35
// READ THIS! This test is meant to check the specific isolation when
46
// UnspecifiedMeansMainActorIsolated is enabled in combination with validating
57
// behavior around explicitly non-Sendable types that trigger type checker

0 commit comments

Comments
 (0)