How to report bugs in SwiftSyntax?

Hi,

I tried to parse the following file Signal-iOS/ProfileFetcherJob.swift at master · signalapp/Signal-iOS · GitHub with SwiftSyntax and received multiple errors about unresolved syntax (especially in value bindings)

E.g. the highlighted snippet on the code was marked as UnresolvedPatternExprSyntax. It can be reproduced using code:

        let sourceSyntax: SourceFileSyntax = try SyntaxParser.parse(URL(fileURLWithPath: source))
        class UnresolvedSyntaxVisitor: SyntaxVisitor {
            override func visit(_ node: UnresolvedPatternExprSyntax) -> SyntaxVisitorContinueKind {
                print(node)
                return .skipChildren
            }
        }
        UnresolvedSyntaxVisitor().walk(sourceSyntax)

I believe it's an error in the library. But what to do with that?

Thanks!

SwiftSyntax bugs can be reported at bugs.swift.org in the SwiftSyntax component. Thanks!

Terms of Service

Privacy Policy

Cookie Policy