[Issue 20095] New: core.internal.convert.toUbyte doesn't work with -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 1 21:17:56 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20095
Issue ID: 20095
Summary: core.internal.convert.toUbyte doesn't work with
-betterC
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: dlang at lesderid.net
`core.internal.convert.toUbyte`, and by extension
`core.internal.hash.hashOf`, doesn't work in -betterC because of the
CTFE path using dynamic allocation.
See discussion at https://github.com/dlang/druntime/pull/2710
--
More information about the Digitalmars-d-bugs
mailing list