[Issue 16643] New: CTFE internal error with null
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 28 07:52:50 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16643
Issue ID: 16643
Summary: CTFE internal error with null
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: b2.temp at gmx.com
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
--
More information about the Digitalmars-d-bugs
mailing list