Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-9370] UnknownSyntax found for syntax tree generated from sourcekitd but not from swiftc #424

nathawes opened this issue Nov 28, 2018 · 1 comment
bug FoundByStressTester


Copy link

@nathawes nathawes commented Nov 28, 2018

Previous ID SR-9370
Radar rdar://problem/46143404
Original Reporter @nathawes
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Source Tooling, SwiftSyntax
Labels Bug, FoundByStressTester
Assignee @nkcsgexi
Priority Medium

md5: 88d0729daee0721795b20c9b896fc729

Issue Description:

For a file containing the following code:

#if swift(<4)

a Syntax tree produced using sourcekitd generates an UnknownSyntax node but with swiftc -emit-syntax it works fine.

Copy link

@nkcsgexi nkcsgexi commented Dec 4, 2018

On master: apple/swift#20981

On swift-5.0-branch: apple/swift#20982

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
bug FoundByStressTester
None yet

No branches or pull requests

2 participants