Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Looks like we've hit another "funny" eclipse compiler error. I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=569557 , but short version is that the following code compiles with javac and not eclipse: ``` package test; import java.util.function.Supplier; public class Test { private final Object o = new Object(); private class Inner { public Inner() { this(() -> o); } private Inner(Supplier<Object> o) {} } } ``` Specifically the outer class's `o` can't be refered to in the lambda. This stops us from doing that in ML so eclipse can be happy again.
- Loading branch information