[Issue 23606] New: betterC with CTFE and gc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 8 06:28:13 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23606
Issue ID: 23606
Summary: betterC with CTFE and gc
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
>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
--
More information about the Digitalmars-d-bugs
mailing list