On 9/1/15 2:34 AM, Jacob Carlborg wrote:
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?


I'm not 100% sure, but that does seem like a bug.

You should be able to completely mask toString from a base class if you don't specify override IMO.

I'm assuming the minimal case is just toString?

-Steve


Reply via email to