Skip to content

Conversation

harlanhaskins
Copy link
Contributor

@harlanhaskins harlanhaskins commented Apr 21, 2019

Previously, we would print

public private(set) var x: Int

as

@_hasStorage public var x: Swift.Int {
  get
  }

which is a) incorrectly indented, and b) shouldn't have newlines when AbstractAccessors is enabled.

Fixes SR-9816

@harlanhaskins
Copy link
Contributor Author

@swift-ci please smoke test

@harlanhaskins harlanhaskins force-pushed the unindentation-station branch from e82eb0d to 498491e Compare April 22, 2019 17:10
@harlanhaskins
Copy link
Contributor Author

@swift-ci please smoke test

@harlanhaskins
Copy link
Contributor Author

@swift-ci please smoke test

Previously, we would print

```swift
public private(set) var x: Int
```

as

```swift
@_hasStorage public var x: Swift.Int {
  get
  }
```

which is a) incorrectly indented, and b) shouldn't have newlines in part
of the Generated Interface.

Fixes [SR-9816](https://bugs.swift.org/browse/SR-9816)
@harlanhaskins
Copy link
Contributor Author

@swift-ci please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant