mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
functional expression type: ensure no capture conversion is performed over target type of cast expression (IDEA-139824)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class Test {
|
||||
public static void casts(Runnable e) {
|
||||
Object o = (Supplier<? extends Runnable>) () -> e;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user