-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
releasedIncluded in a releaseIncluded in a releasevalidation ✔️Improved or new static checksImproved or new static checks
Description
Is your feature request related to a problem?
To provide a clean graphical view, we should prohibit function pointers, like in
fun f()
fun g(p: () -> ())
// ...
g(f)
Desired solution
Add a validation check for this. Code that has this error might also have an alias error (#564), e.g.
fun f()
// ...
val a = f;
We need to decide whether to show both errors or only one of them.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a releasevalidation ✔️Improved or new static checksImproved or new static checks
Type
Projects
Status
✔️ Done