-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed as not planned
Closed as not planned
Copy link
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.commentsFeature: commentsFeature: commentscompilerThe Swift compiler itselfThe Swift compiler itselfsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingstaleResolution: No longer relevant, staleResolution: No longer relevant, staleunexpected behaviorBug: Unexpected behavior or incorrect outputBug: Unexpected behavior or incorrect output† libswiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax
Description
| Previous ID | SR-6929 |
| Radar | None |
| Original Reporter | @dabrahams |
| Type | Bug |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Source Tooling |
| Labels | Bug, Syntax |
| Assignee | None |
| Priority | Medium |
md5: d5e209bb6077b1009d0515befc33db24
Issue Description:
If you make a source file that consists only of comments and whitespace, libSyntax doesn't generate any tokens and the content is "lost"
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.commentsFeature: commentsFeature: commentscompilerThe Swift compiler itselfThe Swift compiler itselfsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingstaleResolution: No longer relevant, staleResolution: No longer relevant, staleunexpected behaviorBug: Unexpected behavior or incorrect outputBug: Unexpected behavior or incorrect output† libswiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax