Skip to content

#if after attributes makes everything parsed as "unexpected code" #3134

@rintaro

Description

@rintaro

Issue Kind

None

Source Code

SwiftParser parses the following entire code as a UnexpectedNodes

@frozen

#if true
func bar() {}
#endif

func foo() {}

Description

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    SwiftParserBugs in the (new) Parser written in SwiftbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions