Deprecate mapIndexedTo for Maps.

This commit is contained in:
Ilya Gorbunov
2015-11-07 07:04:54 +03:00
parent 9323f61eaf
commit 3e81cdfc5d
2 changed files with 2 additions and 0 deletions
@@ -178,6 +178,7 @@ fun mapping(): List<GenericFunction> {
"""
}
deprecate(Strings) { forBinaryCompatibility }
deprecate(Maps) { Deprecation("Use entries.mapIndexedTo instead.", replaceWith = "this.entries.mapIndexedTo(destination, transform)") }
include(Maps, CharSequences, Strings)
}