www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - CircleCI always fails

reply Quirin Schroll <qs.il.paperinik gmail.com> writes:
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.
Aug 01
parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
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.
Aug 01