swiftlang / swiftlang/swift-java
[ffm] jextract support importing `throws` functions
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
Functions in swift that are throwing have a special calling convention so we'll need the help of thunks on the Swift side for this.
Once we have those, the imported methods should mirror the throwing behavior and be declared checked throwing in Java (?).
Typed throws would be step 2 of this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Begin by tracing the jextract import path and the Swift-side thunk work described in the issue; done means throwing Swift functions import with matching behavior and are declared as checked-throwing Java methods, with typed throws left for a later step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, swift
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100