Fix variance in Progression and Range
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
package jet
|
||||
|
||||
public trait Progression<N : Any> : Iterable<N> {
|
||||
public trait Progression<out N : Any> : Iterable<N> {
|
||||
public val start: N
|
||||
|
||||
public val end: N
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package jet
|
||||
|
||||
public trait Range<in T : Comparable<T>> {
|
||||
public trait Range<T : Comparable<T>> {
|
||||
public val start: T
|
||||
|
||||
public val end: T
|
||||
|
||||
Reference in New Issue
Block a user