Skip to content

Commit 4a46b16

Browse files
authored
Merge pull request #76616 from drodriguez/requires-asserts-assume-mainactor
[concurrency] UnspecifiedMeansMainActorIsolated tests as require asserts
2 parents dacdb8f + 7446df0 commit 4a46b16

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)