Skip to content

Commit

Permalink
Suppress compiler warning in ArbitraryExtensions.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
jlink committed Jun 12, 2024
1 parent 5044caf commit bb634f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fun <T> Arbitrary<T>.triple(): Arbitrary<Triple<T, T, T>> {
* @param <A> Type of resulting array class
* @return a new arbitrary instance
*/
@Suppress("NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS")
@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
inline fun <T, reified A: Any> Arbitrary<T>.array(): ArrayArbitrary<T, A> {
return array(A::class.java)
Expand Down

0 comments on commit bb634f0

Please sign in to comment.