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



--- Comment #3 from bearophile_h...@eml.cc 2011-08-26 17:46:41 PDT ---
(In reply to comment #2)

> I'm using DMD v2.051 on Ubuntu 11.04, the following isn't compiling:
> 
> import std.stdio;
> import std.complex;
> 
> void main()
> {
>     writeln((1+3i)^^(4+6i));
> }

The deprecation of the built-in complex numbers will cause the deprecation of
their nice literals too. This means in your program you are not really using
the std.complex module. You have to write it this way:

import std.stdio, std.complex;

void main() {
    writeln(complex(1, 3) ^^ complex(4, 6));
}

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

Reply via email to