Skip to content

Properties that rely on type inference are not exported into Java #539

@abdulowork

Description

@abdulowork

Reproduction

I am certain Swift Java developers know about this limitation, but I don't see any issues mentioning type inference explicitly. As of 5764bc2a1b706056121109dc0ab14fd3d771cbc5 for the following code:

public class Foo {
    public let a = 1
    public let b: Int = 1
}

only the b property is exported; the property a that doesn't spell out the type explicitly is skipped and I also don't see any mentions of this in the logs of jextract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:jextractIssues related to jextract-swift

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions