Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
9b86a89 to
c001545
Compare
|
"The build failed on Semaphore" I clicked on "Details" and could not find any information on what failed. |
As mentioned in #7617, this is just an experiment motivated by (1) Travis increasing failures and (2) the fact that SemaphoreCI runs the entire test-suite 2x (with a host compiler and self-bootstrapped) and Phobos in 8 minutes (Travis takes about 25 mins). |
|
|
||
| TYPECTOR = (STC.const_ | STC.immutable_ | STC.shared_ | STC.wild), | ||
| FUNCATTR = (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.property | STC.safe | STC.trusted | STC.system), | ||
| } |
There was a problem hiding this comment.
FWIW I'm still not a huge friend of this code duplication in ast*
```
replacements=(
"STCautoref autoref"
"STCinference inference"
"STCinit init"
"STCscopeinferred scopeinferred"
"STCundefined undefined_"
"STCstatic static_"
"STCextern extern_"
"STCconst const_"
"STCfinal final_"
"STCabstract abstract_"
"STCparameter parameter"
"STCfield field"
"STCoverride override_"
"STCauto auto_"
"STCsynchronized synchronized_"
"STCdeprecated deprecated_"
"STCin in_"
"STCout out_"
"STClazy lazy_"
"STCforeach foreach_"
"STCvariadic variadic"
"STCctorinit ctorinit"
"STCtemplateparameter templateparameter"
"STCscope scope_"
"STCimmutable immutable_"
"STCref ref_"
"STCmanifest manifest"
"STCnodtor nodtor"
"STCnothrow nothrow_"
"STCpure pure_"
"STCtls tls"
"STCalias alias_"
"STCshared shared_"
"STCgshared gshared"
"STCwild wild"
"STCproperty property"
"STCsafe safe"
"STCtrusted trusted"
"STCsystem system"
"STCctfe ctfe"
"STCdisable disable"
"STCresult result"
"STCnodefaultctor nodefaultctor"
"STCtemp temp"
"STCrvalue rvalue"
"STCnogc nogc"
"STCvolatile volatile_"
"STCreturn return_"
"STCexptemp exptemp"
"STCmaybescope maybescope"
"STCfuture future"
"STClocal local"
"STC_TYPECTOR TYPECTOR"
"STC_FUNCATTR FUNCATTR"
)
for r in "${replacements[@]}" ; do
w=($r)
sed "s/${w[0]}/STC.${w[1]}/g" -i **/*.d
done
```

The second commit was done automatically: