Allowed call value with extension function type as simple function type.
This commit is contained in:
@@ -24,7 +24,7 @@ public class Manager {
|
||||
|
||||
class Task(val callback: Manager.() -> Unit) : Runnable {
|
||||
override public fun run() {
|
||||
<!MISSING_RECEIVER!>callback<!>() // Manager is not accessible here, but no error is shown
|
||||
callback(<!NO_VALUE_FOR_PARAMETER!>)<!> // Manager is not accessible here, but no error is shown
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user