January 08, 2023 [Issue 23606] New: betterC with CTFE and gc | ||||
---|---|---|---|---|
| ||||
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.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 -- |
Copyright © 1999-2021 by the D Language Foundation