[Issue 17608] [REG2.075.0-b2] No [] operator overload for type object.TypeInfo_Class

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 5 19:32:38 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17608

--- Comment #1 from Seb <greensunny12 at gmail.com> ---
I tried to reproduce this with Digger,  upstream/master and upstream/stable, in
all three cases Vibe.d passes fine. I only get the errors with dmd-2.075.0-b2


git clone https://github.com/rejectedsoftware/vibe.d 
git checkout v0.7.31
dub test :core --compiler=/home/seb/dlang/dmd-2.075.0-b2/linux/bin64/dmd



Performing "unittest" build using
/home/seb/dlang/dmd-2.075.0-b2/linux/bin64/dmd for x86_64.
vibe-d:utils 0.7.31: target for configuration "library" is up to date.
vibe-d:data 0.7.31: target for configuration "library" is up to date.
vibe-d:core 0.7.31: building configuration "vibe-d-core-test-libevent"...
source/vibe/utils/memory.d(844): Error: no [] operator overload for type
object.TypeInfo_Class
source/vibe/utils/memory.d(647): Error: template instance
vibe.utils.memory.internalEmplace!(ReadWriteMutex) error instantiating
source/vibe/core/drivers/libevent2.d(1328):        instantiated from here:
alloc!()
source/vibe/utils/memory.d(844): Error: no [] operator overload for type
object.TypeInfo_Class
source/vibe/utils/memory.d(647): Error: template instance
vibe.utils.memory.internalEmplace!(Mutex) error instantiating
source/vibe/core/drivers/libevent2.d(1329):        instantiated from here:
alloc!()
source/vibe/utils/memory.d(844): Error: no [] operator overload for type
object.TypeInfo_Class
source/vibe/utils/memory.d(647): Error: template instance
vibe.utils.memory.internalEmplace!(Condition, Mutex) error instantiating
source/vibe/core/drivers/libevent2.d(1460):        instantiated from here:
alloc!(Mutex)
source/vibe/utils/memory.d(844): Error: no [] operator overload for type
object.TypeInfo_Class
source/vibe/utils/memory.d(647): Error: template instance
vibe.utils.memory.internalEmplace!(Libevent2TCPConnection, TCPContext*) error
instantiating
source/vibe/utils/memory.d(698):        instantiated from here:
alloc!(TCPContext*)
source/vibe/core/drivers/libevent2_tcp.d(614):        instantiated from here:
opCall!(TCPContext*)
source/vibe/utils/memory.d(844): Error: no [] operator overload for type
object.TypeInfo_Class
source/vibe/utils/memory.d(647): Error: template instance
vibe.utils.memory.internalEmplace!(OpenSSLStream, Stream, OpenSSLContext,
TLSStreamState, string, NetworkAddress) error instantiating
source/vibe/utils/memory.d(698):        instantiated from here: alloc!(Stream,
OpenSSLContext, TLSStreamState, string, NetworkAddress)
source/vibe/stream/tls.d(152):        instantiated from here: opCall!(Stream,
OpenSSLContext, TLSStreamState, string, NetworkAddress)
/home/seb/dlang/dmd-2.075.0-b2/linux/bin64/dmd failed with exit code 1.


Is there something different with the build?

--


More information about the Digitalmars-d-bugs mailing list