mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
lambda: check formal types for equality
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Test {
|
||||
{
|
||||
<error descr="Incompatible types. Found: '<lambda expression>', required: 'java.lang.Comparable'">Comparable c = (String o)->{
|
||||
return 0;
|
||||
};</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user