ensure ambiguity error presentation doesn't depend on previous calls to getSubstitutor()

This commit is contained in:
Anna.Kozlova
2016-10-21 18:07:07 +02:00
parent 2a4d33f234
commit 3797d3ea1c
9 changed files with 16 additions and 16 deletions
@@ -11,6 +11,6 @@ abstract class Overloadsss {
{
List<String> l = foo(bar (null));
List<String> l1 = foo(bar1<error descr="Ambiguous method call: both 'Overloadsss.bar1(List<K>)' and 'Overloadsss.bar1(Set<K>)' match">(null)</error>);
List<String> l1 = foo(bar1<error descr="Ambiguous method call: both 'Overloadsss.bar1(List<Object>)' and 'Overloadsss.bar1(Set<Object>)' match">(null)</error>);
}
}