ceylon/ceylon-spec — Issue #218: Capture of Callable init parameters
Author: tombentley
Created: 2012-03-02 09:00:41+00:00
State: open

The type checker says this is well-typed:

@nomodel
class C(void f()) {
void m(C c) {
c.f();
this.f();
}
}

But the initialisation parameter `f` is marked as not captured.