Skip to content

Commit 817b8e3

Browse files
authored
Merge pull request #3349 from moiseev/qualified
2 parents 2f05383 + 1cca4ff commit 817b8e3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

stdlib/public/core/SequenceAlgorithms.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ ${orderingExplanation}
117117
///
118118
/// - SeeAlso: `min(isOrderedBefore:)`
119119
% end
120+
@warn_unqualified_access
120121
public func min(
121122
% if preds:
122123
isOrderedBefore: @noescape (${GElement}, ${GElement}) throws -> Bool
@@ -169,6 +170,7 @@ ${orderingExplanation}
169170
///
170171
/// - SeeAlso: `max(isOrderedBefore:)`
171172
% end
173+
@warn_unqualified_access
172174
public func max(
173175
% if preds:
174176
isOrderedBefore: @noescape (${GElement}, ${GElement}) throws -> Bool

stdlib/public/core/Stride.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ extension Strideable {
310310
Builtin.unreachable()
311311
}
312312

313+
@warn_unqualified_access
313314
@available(*, unavailable, message: "Use stride(from:through:by:) free function instead")
314315
public func stride(
315316
through end: Self, by stride: Stride

0 commit comments

Comments
 (0)