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

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


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


Nils <nilsbossung at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nilsbossung at googlemail.com


--- Comment #1 from Nils <nilsbossung at googlemail.com> 2013-01-20 14:20:49 PST ---
(In reply to comment #0)
> void main()
> {
>     int a = 0;
>     int[] b = a ~ a;
> }
> ========================
> test.d(4): Error: incompatible types for ((a) ~ (a)): 'int' and 'int'

I can't see the bug. That's not supposed/specified to work, is it?

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