Kapt3: Allow function overloads based on return type (KT-14996). Fix wrong facade class name inside the default package
This commit is contained in:
committed by
Yan Zhulanow
parent
6217d21c24
commit
01c76153c7
+7
@@ -0,0 +1,7 @@
|
||||
fun crashMe(values: List<String>): String {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
fun crashMe(values: List<CharSequence>): CharSequence {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
+14
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user