https://d.puremagic.com/issues/show_bug.cgi?id=12387
Summary: Mark stdlib malloc and friends as weekly pure
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2014-03-17 03:28:30 PDT ---
I don't know what goes on under the hood, but I think these can be marked as
pure?
On the same grounds that most GC.malloc functions are also weekly pure.
It would help a lot, since there is currently no way to mark something as
"trusted pure" without jumping though massive hoops.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------