Cuckoo icon indicating copy to clipboard operation
Cuckoo copied to clipboard

Fix typed-throws compilation issue with Swift 6.2

Open MaelRB opened this issue 7 months ago • 0 comments

Newly added typed-throws support doesn't compile with Swift 6.2 for some reason. Adding Error protocol requirement on generic ERROR type fixes the issue.

Add a Stub test to assert usage of typed thenThrow method.

Tests

  • Xcode 16.4, swift 6.1 ✅
  • Xcode 26, swift 6.2 ✅

MaelRB avatar Jun 13 '25 17:06 MaelRB