b117: Self-reference in initializer does no longer work

Millies, Sebastian Sebastian.Millies at softwareag.com
Mon Dec 2 06:29:48 PST 2013

I just upgraded from b114 to b114. Self-references in initializers do no longer work, e. g.
Zhong Yu's variation on the fix point operator:

static <A,B> Function<A,B> fix2(Function<Function<A,B>, Function<A,B>> f)
        return new Object()
            Function<A,B> r = a -> f.apply(r).apply(a);

Why has this feature been dropped? Or is it a bug in b117?

n  Sebastian

Software AG – Sitz/Registered office: Uhlandstraße 12, 64297 Darmstadt, Germany – Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/Management Board: Karl-Heinz Streibich (Vorsitzender/Chairman), Dr. Wolfram Jost, Arnd Zinnhardt; - Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Dr. Andreas Bereczky - http://www.softwareag.com

More information about the lambda-dev mailing list