Module import incompatibility

frame frame86 at live.com
Tue Aug 31 15:36:14 UTC 2021


On Tuesday, 31 August 2021 at 13:03:54 UTC, Paul Backus wrote:
> On Tuesday, 31 August 2021 at 12:57:33 UTC, frame wrote:
>>
>> No, it has one, eg:
>>
>> ```d
>> module cairo.PdfSurface;
>> ```
>>
>> but the filename is PdfSurface.d and class name also :\
>
> You can use a selective import:
>
> ```d
> import cairo.PdfSurface: PdfSurface;
> ```

Damn it's working - I swear I tried that before.
I believe sometimes VsCode doesn't really updating my files.

Thx.



More information about the Digitalmars-d-learn mailing list