On Thursday, May 23, 2013 19:54:06 Kenji Hara wrote: > 2013/5/23 Jacob Carlborg <[email protected]> > > * tango/core/tools/StackTrace.d(186): Error: class > > tango.core.tools.StackTrace.BasicTraceInfo interface function 'string > > toString() const' is not implemented > > > > > > https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/core/tools/StackTr > > ace.d#L186 > This is expected change. The type of Throwable.TraceInfo.toString is > string() const, but BasicTraseInfo.toString is not const. > By fixing issue 8366, now const attribute is never inherited automatically. > > Fixing way: Add const to BasicTraceInfo.toString > > Reduced case: > class BasicTraceInfo: Throwable.TraceInfo > { > override immutable(char)[] toString() /*const*/ > { > immutable(char)[] ret; > return ret; > } > } > > * tango/io/selector/SelectSelector.d(156): Error: function
We really need to work on sorting out any remaining language changes like this so that we stop breaking code like this. - Jonathan M Davis _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
