Skip to content

Add support for typed-throws methods#562

Merged
MatyasKriz merged 1 commit intoBrightify:masterfrom
MaelRB:mrb/add-typed-throws-method-support
Jun 12, 2025
Merged

Add support for typed-throws methods#562
MatyasKriz merged 1 commit intoBrightify:masterfrom
MaelRB:mrb/add-typed-throws-method-support

Conversation

@MaelRB
Copy link
Contributor

@MaelRB MaelRB commented Jun 8, 2025

Add support for typed-throws methods 520.

Allow to use new Swift 6 syntax:

protocol Foo {
    func bar() throws(CustomError)
}

Note that this PR doesn't add support for typed-throws properties.

Tests

  • ✅ unit tests run
  • ✅ add new tests for new feature

@MatyasKriz
Copy link
Collaborator

Hey @MaelRB, the changes look great, looking forward to merging this. 🙂

@MatyasKriz MatyasKriz force-pushed the mrb/add-typed-throws-method-support branch from 943ebd4 to b35a0d6 Compare June 11, 2025 21:06
@MatyasKriz MatyasKriz merged commit fc2aeda into Brightify:master Jun 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants