← Back to index
|
Original Bugzilla link
Bug 16643 – CTFE internal error with null
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-10-28T14:52:50Z
Last change time
2024-09-27T02:41:27Z
Keywords
ice, pull
Assigned to
No Owner
Creator
basile-z
Comments
Comment #0
by b2.temp — 2016-10-28T14:52:50Z
null+null and null-null trigger the error: echo "enum a = null+null;" > d.d && dmd d.d -main echo "enum a = null-null;" > d.d && dmd d.d -main > Error: CTFE internal error: non-constant value null
Comment #1
by dlang-bot — 2024-09-26T15:43:58Z
@WalterBright created dlang/dmd pull request #16887 "fix bugzilla Issue 16643 - CTFE internal error with null" fixing this issue: - fix bugzilla Issue 16643 - CTFE internal error with null
https://github.com/dlang/dmd/pull/16887
Comment #2
by dlang-bot — 2024-09-27T02:41:27Z
dlang/dmd pull request #16887 "fix bugzilla Issue 16643 - CTFE internal error with null" was merged into master: - 824aa460e22abe532dccdafe10cd09ba216b63e2 by Walter Bright: fix bugzilla Issue 16643 - CTFE internal error with null
https://github.com/dlang/dmd/pull/16887