// FIR_IDENTICAL package a import java.util.* fun g (f: () -> List) : T {} fun test() { //here possibly can be a cycle on constraints val x = g { Collections.emptyList() } val y = g { Collections.emptyList() } val z : List = g { Collections.emptyList() } }