-
```swift
import Foundation
@propertyWrapper struct Wrapper {
var wrappedValue: Int { .zero }
var projectedValue: Int { .max }
}
@MainActor
class Sample {
@Wrapper nonisolated…
-
| | |
|------------------|-----------------|
|Previous ID | SR-12401 |
|Radar | rdar://problem/62200979 |
|Original Repo…
-
| | |
|------------------|-----------------|
|Previous ID | SR-11277 |
|Radar | None |
|Original Reporter | @Agarunov …
-
Proposal: add an "inverted" configuration option to the existing `redundant_optional_initialization` rule, so that initializing variables with nil is required rather than disallowed.
Also, I have …
-
| | |
|------------------|-----------------|
|Previous ID | SR-11674 |
|Radar | None |
|Original Reporter | @regexident …
-
| | |
|------------------|-----------------|
|Previous ID | SR-14411 |
|Radar | None |
|Original Reporter | jactmp (JIRA…
-
| | |
|------------------|-----------------|
|Previous ID | SR-12504 |
|Radar | rdar://problem/57435182 |
|Original Repo…
-
**Steps to reproduce**
```swift
@propertyWrapper
struct Wrapper {
var wrappedValue: Int
init(i: Int) {}
}
do {
@Wrapper var w: Int = 0
}
```
```
error: incorrect argument label…
-
| | |
|------------------|-----------------|
|Previous ID | SR-13142 |
|Radar | rdar://problem/65115564 |
|Original R…
-
| | |
|------------------|-----------------|
|Previous ID | SR-13376 |
|Radar | rdar://problem/67361269 |
|Original Repo…