Restore deprecated K*Function classes for compatibility

The code compiled with old compiler will work with the new runtime, but not
vice versa
This commit is contained in:
Alexander Udalov
2015-07-16 14:59:05 +03:00
parent 4226b0b2b7
commit de94778846
3 changed files with 43 additions and 7 deletions
@@ -0,0 +1,29 @@
/*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package kotlin.reflect
@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead")
public interface KTopLevelFunction<out R> : KFunction<R>
@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead")
public interface KTopLevelExtensionFunction<in E, out R>
@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead")
public interface KMemberFunction<in T, out R> : KFunction<R>
@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead")
public interface KLocalFunction<out R> : KFunction<R>