You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix type of member references without explicit class on LHS
Type of '::foo' for a function foo in a class A should be KFunction0<Unit>, not
KFunction1<A, Unit>. Continue to report an error in this case, to be maybe
supported in the future
Copy file name to clipboardExpand all lines: compiler/frontend/src/org/jetbrains/kotlin/resolve/callableReferences/CallableReferencesResolutionUtils.kt
+17-28Lines changed: 17 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -181,24 +181,6 @@ fun resolveCallableReferenceTarget(
181
181
}
182
182
}
183
183
184
-
privatefuncreateReflectionTypeForFunction(
185
-
descriptor:FunctionDescriptor,
186
-
receiverType:KotlinType?,
187
-
reflectionTypes:ReflectionTypes
188
-
): KotlinType? {
189
-
val returnType = descriptor.returnType ?:returnnull
190
-
val valueParametersTypes =ExpressionTypingUtils.getValueParametersTypes(descriptor.valueParameters)
0 commit comments