[Issue 1878] foreach does not handle integral types appropriately

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 8 01:42:47 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=1878


Lionello Lunesu <lio+bugzilla at lunesu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lio+bugzilla at lunesu.com


--- Comment #3 from Lionello Lunesu <lio+bugzilla at lunesu.com> 2013-09-08 01:42:44 PDT ---
This bug is also the source of many false positives when bug 259 gets fixed. 

The problem is that ForeachRangeStatement is using typeCombine, which does the
C style integer promotion. It should probably use the ?: combine logic instead.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list