Add SinceKotlin to new coerceIn method.

This commit is contained in:
Ilya Gorbunov
2016-12-19 17:53:47 +03:00
parent 10f8e70322
commit 2209631f1a
4 changed files with 4 additions and 0 deletions
@@ -90,6 +90,7 @@ fun comparables(): List<GenericFunction> {
templates add f("coerceIn(range: ClosedFloatingPointRange<T>)") {
sourceFile(SourceFile.Ranges)
only(Generic)
since("1.1")
returns("SELF")
typeParam("T: Comparable<T>")
doc {