Skip to content

Commit

Permalink
Merge pull request #293 from CodaFi/downrange
Browse files Browse the repository at this point in the history
Deprecate genRange requirement
  • Loading branch information
CodaFi committed Aug 12, 2019
2 parents 9e53d13 + b62bbb6 commit 2d3b562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SwiftCheck/Random.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public protocol RandomGeneneratorType {
/// Yields the range of values returned by the generator.
///
/// This property must return integers in ascending order.
@available(*, deprecated, message: "genRange serves no purpose and will be removed in a future release")
var genRange : (Int, Int) { get }
/// Splits the current random value generator into two distinct random value
/// generators.
Expand Down

0 comments on commit 2d3b562

Please sign in to comment.