Diamond inference generates spurious error messages when target type is a member inner class Reviewed-by: jjg