Accept more generic range for coerceIn.

This commit is contained in:
Ilya Gorbunov
2015-07-22 00:47:44 +03:00
parent 877cb72ba1
commit e799c92131
2 changed files with 7 additions and 7 deletions
@@ -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")