On Sunday, 1 December 2024 at 19:55:59 UTC, realhet wrote:
On Sunday, 1 December 2024 at 00:08:02 UTC, Richard (Rikki) Andrew Cattermole wrote:
The trick...

Update: This not works!
This is another ugly fix:
```d
import het.math; void main(){ auto col = RGB(1, 2, 3); auto img = image2D(1, 2, col); }
```

The trigger of the error is accessing Vector!(ubyte, 3) by the alias WITHOUT mentioning Vector!(ubyte, 3) previously!

A harmless way to 'mention' is -> pragma(msg, (Vector!(ubyte, 3)).stringof[0..0]);

The alias declaration must be in a different module (minimum 2 modules needed to reproduce.).
  • How can I have t... realhet via Digitalmars-d-learn
    • Re: How can... realhet via Digitalmars-d-learn
      • Re: How... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... realhet via Digitalmars-d-learn
        • Re:... realhet via Digitalmars-d-learn
          • ... realhet via Digitalmars-d-learn
            • ... monkyyy via Digitalmars-d-learn
              • ... realhet via Digitalmars-d-learn

Reply via email to