package aaa fun T.foo(t: T) = t fun id(t: T) = t fun a() { val i = id(2 foo 3) i : Int // i shouldn't be resolved to error element }