lambda: forbid type params in SAM methods (IDEA-101553)

This commit is contained in:
anna
2013-02-21 20:21:49 +01:00
parent 5a419aa494
commit 18adb1cefc
2 changed files with 8 additions and 3 deletions
@@ -76,11 +76,11 @@ public class FunctionalInterfaceTest extends LightDaemonAnalyzerTestCase {
}
public void testMethodWithTypeParam() throws Exception {
doTestFunctionalInterface(null);
doTestFunctionalInterface("Target method is generic");
}
public void testTwoMethodsSameSignatureTypeParams() throws Exception {
doTestFunctionalInterface(null);
doTestFunctionalInterface("Target method is generic");
}
public void testAbstractClass() throws Exception {