// FIR_IDENTICAL // SKIP_TXT // !LANGUAGE: +ContextReceivers fun test(action: context(T) () -> Unit) {} fun test2(actionWithArg: context(T) (T) -> Unit) {} fun main() { test { length } test { toDouble() } test2 { a -> length a.length } }