September 26, 2018 [Issue 19268] New: BetterC turns off DRuntime for CTFE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19268 Issue ID: 19268 Summary: BetterC turns off DRuntime for CTFE Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ilyayaroshenko@gmail.com dmd -betterC mixin(`void foo(){}`.idup); --- pass in DMD 2.78 fails in DMD >=2.79 /opt/compiler-explorer/dmd-2.079.0/dmd2/linux/bin64/../../src/druntime/import/object.d(4259): Error: `TypeInfo` cannot be used with -betterC This cause BetterC regression in mir.bitmanip and mir-cpuid. The workaround for mir.bitmanip was added to mir-algorithm v2.0.6. -- |
Copyright © 1999-2021 by the D Language Foundation