mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
java 8: intersection type casts (IDEA-98843)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import java.io.Serializable;
|
||||
class Test {
|
||||
{
|
||||
Runnable r = (Runnable & Serializable)Test::new;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user