Kapt3: Allow function overloads based on return type (KT-14996). Fix wrong facade class name inside the default package

This commit is contained in:
Yan Zhulanow
2016-11-29 19:51:41 +03:00
committed by Yan Zhulanow
parent 6217d21c24
commit 01c76153c7
6 changed files with 73 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
fun crashMe(values: List<String>): String {
throw UnsupportedOperationException()
}
fun crashMe(values: List<CharSequence>): CharSequence {
throw UnsupportedOperationException()
}
+14
View File
@@ -0,0 +1,14 @@
public final class Kt14996Kt {
public Kt14996Kt() {
super();
}
public static final java.lang.String crashMe(java.util.List<java.lang.String> values) {
return null;
}
public static final java.lang.CharSequence crashMe(java.util.List<? extends java.lang.CharSequence> values) {
return null;
}
}