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-15212] isolated attribute doesn't ASTPrint properly #57534

Open
johnfairh opened this issue Sep 18, 2021 · 1 comment
Open

[SR-15212] isolated attribute doesn't ASTPrint properly #57534

johnfairh opened this issue Sep 18, 2021 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@johnfairh
Copy link
Contributor

Previous ID SR-15212
Radar rdar://problem/83316058
Original Reporter @johnfairh
Type Bug
Environment

Xcode 13 RC / Swift 5.5
swift-driver version: 1.26.9 Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Target: x86_64-apple-macosx12.0

Additional Detail from JIRA
Votes 0
Component/s Source Tooling
Labels Bug
Assignee None
Priority Medium

md5: 5db9d5a9a4ac00ef6f305474df36996d

Issue Description:

Given:

public actor A {
    /// Comment
    public func method(other: isolated A) {}
}

Then:

  1. SourceKit declaration (module interface etc.) comes out as:
  public func method(isolated other: inout A)

2. SymbolGraph declaration (DocC, Xcode quick help) comes out as:

  public func method(other: A)

...and the doc comment is missing too while SourceKit keeps it, which is a new failure mode...

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants