From 639e52ae7e128025f6eb57957a590b808d83a9a4 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Tue, 27 Oct 2015 14:37:44 +1000 Subject: SI-9178 Don't eta expand param-less method types to SAMs Otherwise, we can end up with a subtle source incompatibility with the pre-SAM regime. Arguably we should phase out eta expansion to Function0 as well, but I'll leave that for another day. --- test/files/run/t9489/B.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/files/run/t9489/B.java (limited to 'test/files/run/t9489/B.java') diff --git a/test/files/run/t9489/B.java b/test/files/run/t9489/B.java new file mode 100644 index 0000000000..e5d1278cd7 --- /dev/null +++ b/test/files/run/t9489/B.java @@ -0,0 +1,3 @@ +public abstract class B { + public abstract int m(); +} -- cgit v1.2.3