[Issue 9359] New: Can't concat ints: incompatible types for 'int' and 'int'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 20 13:20:13 PST 2013


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

           Summary: Can't concat ints: incompatible types for 'int' and
                    'int'
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2013-01-20 13:20:12 PST ---
void main()
{
    int a = 0;
    int[] b = a ~ a;
}
========================
test.d(4): Error: incompatible types for ((a) ~ (a)): 'int' and 'int'

-- 
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