You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove "unconditional" messaging from Issue kind .unconditional.
This PR changes the default message for an issue of kind `.unconditional` from
`"Unconditionally failed"` to `"Issue recorded"`.
Although the failure is unconditional at the point it is recorded, the code that
recorded the issue may not be unconditionally executing, so we shouldn't
describe it as unconditional (we just don't know!)
For example, given the following code:
```swift
if case .empty = potatoSack.contents {
Issue.record("No potatoes left.")
}
```
We would previously log:
> Unconditionally failed: No potatoes left.
Now we'll log:
> Issue recorded: No potatoes left.
Resolves#574.
0 commit comments