dmd since 2.096.0 with ``t.d``

```t.d
module t;

class t {
}
```

and ``x.d``

```x.d
module x;
import t;

void main ()
{
   t x = new t;
}
```

reports

    $ dmd -i x.d
    x.d(6): Error: import `x.t` is used as a type
    x.d(6): Error: import `x.t` is used as a type

Could not find this Change in https://dlang.org/changelog/2.096.0.html. Has this been "fixed" with some other issue?

Workaround:

```x.d
...
import t : t;
...
```

Reply via email to