[SR-7060] libSyntax missing ImportDecl in nightly snapshots #49608
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
import
Feature → declarations: `import` declarations
† libswiftSyntax
† Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax
source tooling
Area: IDE support, SourceKit, and other source tooling
swift 4.1
unexpected behavior
Bug: Unexpected behavior or incorrect output
Additional Detail from JIRA
md5: 24c84b6fd63fb48950e0b1bf90b9e3ae
Issue Description:
If you download a swift snapshot (I've tried 1/10, 1/15, 2/1, and 2/21 for this) and attempt to get the syntax of this file:
Using:
You end up with this result:
Note the
UnknownDecl
where there should be anImportDecl
I built Swift locally and ended up getting the
ImportDecl
correctly here.The text was updated successfully, but these errors were encountered: