Beta D 2.068.1-b2

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Aug 31 23:34:00 PDT 2015


On 2015-08-31 08:01, Martin Nowak wrote:
> First beta for the 2.068.1 point release (we skipped -b1 due to a bug).

Here's a piece of code that used to compile in 2.067.0 but not in 2.068.0:

class UniText
{
     abstract const char[] toString (char[]  dst = null);
     abstract const wchar[] toString16 (wchar[] dst = null);
     abstract const dchar[] toString32 (dchar[] dst = null);
}

The error message is:

Error: class main.UniText use of object.Object.toString() is hidden by 
UniText; use 'alias toString = Object.toString;' to introduce base class 
overload set

I suspect this is intended?

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list