provide 'place' language level for convertible check to allow types from old libraries to be casted to primitives (IDEA-117684)

This commit is contained in:
Anna Kozlova
2014-05-31 20:36:04 +04:00
parent 2f6d5c9e27
commit ae5717690b
4 changed files with 30 additions and 8 deletions
@@ -0,0 +1,7 @@
class Test {
Object getObj() {return null;}
{
int a = (int) getObj();
}
}