std.experimental.logger instantiation fails in 2.067

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 1 23:55:51 PDT 2015


Before 2.067 I used std.experimental.logger in form of a dub package. 
Because it included in 2.067 I stop using the dub package but now I get 
the error:
Error: safe function 
'std.experimental.logger.core.Logger.memLogFunctions!cast(LogLevel)cast(ubyte)32u.logImplf!(383, 
[snip]).logImplf' cannot call system function 
'std.format.formattedWrite!(MsgRange, char, 
InitiatingPTrack).formattedWrite'
What is the way to avoid it? (I guess it's known issue)

P.S. using dmd 2.067 with the dub package it compiles, without the dub 
package it fails, but ldc 0.16 fails both without and with the dub 
package - there is some inconsistence.


More information about the Digitalmars-d-learn mailing list