mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
inference errors: make applicability error thread safe so multiple threads can perform overload resolution of parent method calls independently, save presentable error when substitutor cached only
This commit is contained in:
@@ -47,7 +47,7 @@ class MyTest1 {
|
||||
}
|
||||
|
||||
{
|
||||
Bar1 b1 = MyTest2 :: <error descr="Invalid method reference: String cannot be converted to int">foo</error>;
|
||||
Bar1 b1 = MyTest2 :: <error descr="Cannot resolve method 'foo'">foo</error>;
|
||||
bar(MyTest1 :: foo);
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ class MyTest2 {
|
||||
}*/
|
||||
|
||||
{
|
||||
Bar1 b1 = MyTest2 :: <error descr="Invalid method reference: String cannot be converted to int">foo</error>;
|
||||
Bar1 b1 = MyTest2 :: <error descr="Cannot resolve method 'foo'">foo</error>;
|
||||
bar(MyTest2 :: foo);
|
||||
}
|
||||
}
|
||||
@@ -99,8 +99,8 @@ class MyTest3 {
|
||||
}
|
||||
|
||||
{
|
||||
Bar1 b1 = MyTest2 :: <error descr="Invalid method reference: String cannot be converted to int">foo</error>;
|
||||
bar(MyTest3 :: <error descr="Invalid method reference: int cannot be converted to String">foo</error>);
|
||||
Bar1 b1 = MyTest2 :: <error descr="Cannot resolve method 'foo'">foo</error>;
|
||||
bar(MyTest3 :: <error descr="Cannot resolve method 'foo'">foo</error>);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user