valhalla-dev Digest, Vol 7, Issue 66
brian.goetz at oracle.com
Tue Jan 20 15:43:08 UTC 2015
> Could the meet rule be added to overloads in Java? I mean only in the
> form of a compile-time warning of course. It seems it could be useful
> for API designers.
Yes, this would be a useful warning to add (and we've added similar
warnings in 8, when methods taking sufficiently similar functional
interfaces are overloaded.) Obviously we can't make them errors because
it would break existing code.
More information about the valhalla-dev