mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
inference testdata: error message should not depend on evaluation order
GitOrigin-RevId: 5de0efc888c6627537d55f7544eb5af96e716ab6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5acf90956e
commit
e7f9f733dd
@@ -0,0 +1,14 @@
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
abstract class Overloadsss {
|
||||
abstract <T> List<T> foo(List<T> l);
|
||||
abstract <T> Set<T> foo(Set<T> s);
|
||||
|
||||
abstract <K> List<K> bar1(List<K> l);
|
||||
abstract <K> Set<K> bar1(Set<K> s);
|
||||
|
||||
{
|
||||
List<String> l1 = foo(<caret>bar1(null));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user