Closed
Description
dotty> new java.util.HashMap[Int, Int]().size
^
new java.util.HashMap[Int, Int]().size
<console>:8: error: cannot merge
method size: ()Int and
variable size: Int;
they are both defined in class HashMap but have matching signatures
()Int and
Int
when seen as members of java.util.HashMap[Int, Int]