On Sat, Feb 23, 2013 at 3:39 AM, Eugene Burmako
<eugene....@epfl.ch> wrote:
This sometimes changes the outcome of `ImplicitSearch.dominates`,
turning previously successful implicit searches into divergent errors.
Are we cool with this?
No, but the issue is larger.
tp = java.lang.type, tp.normalize = ThisType(java.lang)
tp = java.lang.type, tp.dealiasWiden = TypeRef(ThisType(java), java.lang, List())
So dealiasWiden unrolls the packages one at a time, and normalize stops all at once on ThisType(java.lang). We should work out whether there is some useful distinction to these multiple representations, but in the meantime, I'd say complexity should terminate whenever it encounters a package in whatever representation.