swiftlang / swiftlang/swift-java

jextract: Swift 6 language compatibility for generated sources

Open
#472 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature:jextract good first issue help wanted
Dominant language
Swift
Stars
1.2k
Forks
123
Avg merge
1d 7h
Merged PRs (30d)
16

Description

Right now, the generated code will fail to compile in the Swift 6 language mode. We should fix this, so developers don't have to revert back to Swift 5.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the jextract entry point and reproduce the generated-source compilation failure in Swift 6 language mode. Trace which generated constructs are incompatible, then verify that representative generated sources compile without requiring Swift 5 mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.