What is this ? Howw to solve it ?

Domingo Alvarez Duarte via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 14 21:36:26 PDT 2014


With dmd trunk trying to compile vibed after fixing several array 
declarations from C style to D style I'm getting this error that 
I do not understand:
-----------
Building vibe-d 0.7.21-rc.2 configuration "libevent", build type 
debug.
Running dmd...
/home/mingo/dev/d/src/install/bin/../../../src/phobos/std/container/array.d(432): 
Error: cannot implicitly convert expression ((inout inout(Range) 
__ctmp3047 = 0;
  , __ctmp3047).this(this, 0LU, this.length())) of type 
inout(Range) to Range
source/vibe/core/drivers/timerqueue.d(29):        while looking 
for match for BinaryHeap!(Array!(TimeoutEntry), "a.timeout > 
b.timeout")
source/vibe/core/drivers/libevent2.d(74): Error: template 
instance vibe.core.drivers.timerqueue.TimerQueue!(TimerInfo, 
10000L) error instantiating
-----------

Any clue from the experts ?


More information about the Digitalmars-d-learn mailing list