Method reverences language level highlighting

This commit is contained in:
Roman Shevchenko
2012-06-04 12:18:58 +04:00
parent 94e69692bc
commit 679ab25896
6 changed files with 32 additions and 3 deletions
@@ -37,6 +37,8 @@ class UnsupportedFeatures {
catch (<error descr="Multi-catches are not supported at this language level">FileNotFoundException | IOException e</error>) { e.printStackTrace(); }
try <error descr="Try-with-resources are not supported at this language level">(Reader r = new FileReader("/dev/null"))</error> { }
I i = <error descr="Method references are not supported at this language level">UnsupportedFeatures::m</error>;
}
interface I {