// FIR_IDENTICAL // KT-287 Infer constructor type arguments import java.util.* fun attributes() : Map = HashMap() // Should be inferred; val attributes : Map = HashMap() // Should be inferred; fun foo(m : Map) {} fun test() { foo(HashMap()) }