On Tuesday, 31 August 2021 at 14:09:01 UTC, Steven Schveighoffer wrote:

Are you sure this is the problem? `PdfSurface` is not a valid identifier here except for the class. In order to access the package, you need to use `cairo.PdfSurface`.

Must've changed since you last checked:

```d
// main.d
import example;

void main()
{
// Error: incompatible types for `(module example) == (42)`: `void` and `int`
    assert(example == 42);
}
```
```d
// example.d
int example = 42;
```

https://run.dlang.io/is/SpEZNF

Reply via email to