ceylon/ceylon-compiler — Issue #366: Java interop problem with type parameters
Author: FroMage
Created: 2012-02-06 09:04:06+00:00
State: open
Labels: BUG, high priority, interoperability, model-loader

The following code used to compile:

```
import java.lang.ref { WeakReference, ReferenceQueue }
class Test(T obj, ReferenceQueue q)
extends WeakReference(obj, q) {}
```

But currently it results in an error:

```
source/test.ceylon:3: argument must be assignable to parameter arg1 of WeakReference: ReferenceQueue is not assignable to ReferenceQueue?
extends WeakReference(obj, q) {}
^
```