[Issue 9398] New: strange error message "incompatible types for ..." for temary operator
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 25 21:47:14 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9398
Summary: strange error message "incompatible types for ..." for
temary operator
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: minor
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: kekeniro2 at yahoo.co.jp
--- Comment #0 from kekeniro2 at yahoo.co.jp 2013-01-25 21:47:12 PST ---
Error message showing type mismatch for
(a ? b : c)
is printed below:
Error: incompatible types for ((b) ? (c)): 'B' and 'C'
Wrong '?' position.
It shoud be ... ((a) ? (b) : (c)): 'B' and 'C'
--
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