From Max Samukha:
Simple test cases still don't compile:
string foo()()
{
string a, b;
return a ~ b;
}
enum s = foo();
./dmd -c -betterC test.d
test.d(4): Error: array concatenation of expression `a ~ b` requires the GC which is not available with -betterC
@WalterBright created dlang/dmd pull request #14791 "fix Issue 23606 - betterC with CTFE and gc" fixing this issue:
- fix Issue 23606 - betterC with CTFE and gc
https://github.com/dlang/dmd/pull/14791
Comment #3 by dlang-bot — 2023-01-10T03:55:57Z
dlang/dmd pull request #14791 "fix Issue 23606 - betterC with CTFE and gc" was merged into master:
- 96817ff671fe1f6e0bd9be05fed1433bba9e5179 by Walter Bright:
fix Issue 23606 - betterC with CTFE and gc
https://github.com/dlang/dmd/pull/14791