Skip to content

Commit b62bbb6

Browse files
committed
Deprecate genRange requirement
1 parent 9e53d13 commit b62bbb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftCheck/Random.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public protocol RandomGeneneratorType {
1616
/// Yields the range of values returned by the generator.
1717
///
1818
/// This property must return integers in ascending order.
19+
@available(*, deprecated, message: "genRange serves no purpose and will be removed in a future release")
1920
var genRange : (Int, Int) { get }
2021
/// Splits the current random value generator into two distinct random value
2122
/// generators.

0 commit comments

Comments
 (0)