import java.util.HashSet internal class Foo { fun foo(o: HashSet<*>) { var foo = 0 foo = o.size } }