[Issue 23173] New: "Error: signed integer overflow" when mixing in a `long.min` assignment
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 8 15:40:41 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23173
Issue ID: 23173
Summary: "Error: signed integer overflow" when mixing in a
`long.min` assignment
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: zorael at gmail.com
Arch/Manjaro x86_64, dmd 2.100.0.
void main()
{
mixin("long l = ", long.min, ";");
}
// Error: signed integer overflow
int works.
--
More information about the Digitalmars-d-bugs
mailing list