Skip to content

jextract must handle "sibling" types while extracting #209

Open
@ktoso

Description

@ktoso

For example file 1:

struct Hello {}

file 2:

struct HelloAgain {
  init(hello: Hello) {}
}

if we visit them in the order Hello, then HelloAgain things work fine.

If we happen to visit them HelloAgain first, then we'll reject importing the HelloAgain type because:

[info][JExtractSwift/Swift2JavaVisitor.swift:219](visit(_:)) Unable to import initializer due to unknown(IdentifierTypeSyntax
╰─name: identifier("Hello"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions