fun with1(receiver: Any?, block: @ExtensionFunctionType Function1) { return block.invoke(p1 = receiver) } fun with2(receiver: Any?, block: @ExtensionFunctionType Function1) { return block.invoke(p1 = receiver) }