java 8: intersection type casts (IDEA-98843)

This commit is contained in:
anna
2013-01-11 15:59:40 +01:00
parent d919ca79a3
commit 6f2878cdf7
8 changed files with 68 additions and 18 deletions

View File

@@ -0,0 +1,6 @@
import java.io.Serializable;
class Test {
{
Runnable r = (Runnable & Serializable)Test::new;
}
}