August 01

My PRs always fail on CircleCI due to this:

/home/circleci/dmd/compiler/test/../../druntime/import/core/stdc/config.d(325): Error: template instance `core.stdc.config._Complex!float` cannot resolve forward reference
    ref _Complex opAssign(_Complex!float  c) { re = c.re; im = c.im; return this; }

Is there a way to avoid this? CircleCI seems to work fine with every other PR.

August 01

On Friday, 1 August 2025 at 18:33:23 UTC, Quirin Schroll wrote:

>

My PRs always fail on CircleCI due to this:

/home/circleci/dmd/compiler/test/../../druntime/import/core/stdc/config.d(325): Error: template instance `core.stdc.config._Complex!float` cannot resolve forward reference
    ref _Complex opAssign(_Complex!float  c) { re = c.re; im = c.im; return this; }

Is there a way to avoid this? CircleCI seems to work fine with every other PR.

Don't know if it will fix it, but make sure that you rebase your PR onto most recent master.
If your branch point is old, then it may not contain fixes for such issues if they have been fixed recently.