https://issues.dlang.org/show_bug.cgi?id=19634
Issue ID: 19634
Summary: Usual Arithmetic Conversions doesn't define what
happens on failure
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
https://dlang.org/spec/type.html#usual-arithmetic-conversions
This defines a series of possible conversions used to bring two expressions to
the same type for arithmetic operations. This set of conversions is mentioned
for equality expressions, among others. However, the spec doesn't mention what
happens when those conversions fail. I guess it's undefined behavior?
--