No callable reference to generic callables
This commit is contained in:
+4
@@ -9,6 +9,9 @@ var globalVar = 1
|
||||
|
||||
fun funWithFunctionParameter(p: () -> Unit) {}
|
||||
|
||||
// callable references to generic functions are not supported currently
|
||||
fun <T> genericFun(t: T): T = t
|
||||
|
||||
class C {
|
||||
fun memberFun(){}
|
||||
|
||||
@@ -51,3 +54,4 @@ abstract class AbstractClass
|
||||
// ABSENT: class
|
||||
// ABSENT: class.java
|
||||
// EXIST: { itemText: "funWithFunctionParameter", tailText: "(p: () -> Unit) (<root>)", attributes: "" }
|
||||
// ABSENT: genericFun
|
||||
|
||||
Reference in New Issue
Block a user