www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19634] New: Usual Arithmetic Conversions doesn't define what


          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: nobody puremagic.com
          Reporter: dhasenan gmail.com


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?

Jan 29 2019