Accept more generic range for coerceIn.
This commit is contained in:
@@ -44,7 +44,7 @@ fun comparables(): List<GenericFunction> {
|
||||
}
|
||||
}
|
||||
|
||||
templates add f("coerceIn(range: TRange)") {
|
||||
templates add f("coerceIn(range: Range<T>)") {
|
||||
only(Primitives, Generic)
|
||||
only(numericPrimitives)
|
||||
returns("SELF")
|
||||
|
||||
Reference in New Issue
Block a user