ceylon/ceylon.language — Issue #60: Multiple parameter lists
Author: tombentley
Created: 2012-03-08 14:15:37+00:00
State: open

Section 4.5.6 of the spec says:

> A method which declares more than one parameter list returns instances of Callable.

Using the example given in the spec:

```
Comparison getOrder()(Integer x, Integer y) {
return x<=>y;
}
```

If I try to call `getOrder()`:

```
Callable c = getOrder();
```

I'm told "specified expression must be assignable to declared type: Comparison is not assignable to Callable".