Refactored ConvertMemberToExtension to re-use original declaration instead of regenerating it by text

#KT-4920 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-05-12 11:31:06 +03:00
parent ac9d75b45e
commit 48ac89dca4
19 changed files with 124 additions and 113 deletions
@@ -1,4 +1,4 @@
abstract class Owner<T> {
}
fun <T, R> Owner<T>.f(t: T, r: R): R = r
fun Owner<T>.f<T, R>(t: T, r: R): R = r