Skip to content

Commit 1111bd2

Browse files
thymikeeclaude
andcommitted
fix(apple): mark the runner bridge read's nil-able result nullable
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent d3b161d commit 1111bd2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerSnapshotBridge+Internal.h‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ NS_ASSUME_NONNULL_BEGIN
66
#if TARGET_OS_IOS && TARGET_OS_SIMULATOR
77

88
// The snapshot bridge's read admission and reader queue, which RunnerSnapshotBridge.m defines for the
9-
// runner unit bundle. The packaged runner omits UnitTests/.
10-
NSDictionary *RunnerSnapshotBridgeRead(NSDictionary *request,
11-
NSUInteger budgetMs,
12-
NSDictionary * (^read)(void),
13-
NSTimeInterval (^clock)(void));
9+
// runner unit bundle. The packaged runner omits UnitTests/. A read answers with what `read` returns,
10+
// nil included.
11+
NSDictionary * _Nullable RunnerSnapshotBridgeRead(NSDictionary *request,
12+
NSUInteger budgetMs,
13+
NSDictionary * _Nullable (^read)(void),
14+
NSTimeInterval (^clock)(void));
1415
dispatch_queue_t RunnerSnapshotBridgeReaderQueue(void);
1516

1617
#endif

0 commit comments

Comments
 (0)