digitalmars.D.bugs - [Issue 23606] New: betterC with CTFE and gc
- d-bugmail puremagic.com (24/25) Jan 07 2023 https://issues.dlang.org/show_bug.cgi?id=23606
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 puremagic.com Reporter: bugzilla digitalmars.comFrom 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 --
Jan 07 2023