Mark
03/08/2023, 3:00 AMoperator fun Foo.Companion.invoke() = Foo.createInstance()
I type “Foo” but auto-completion doesn’t bring up any suggestion. I need to autocomplete Foo.invoke instead (to insert the invoke import) and then I can remove the invoke (now that the import has been added).
To test this, you need to have the declaration in a different file to where you are calling, of course.