ceylon/ceylon-spec — Issue #163: Java interop problem with type parameters
Author: ikasiuk
Created: 2012-02-05 17:15:17+00:00
State: open

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) {}
^
```