www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17608] New: [REG2.075.0-b2] No [] operator overload for type

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

          Issue ID: 17608
           Summary: [REG2.075.0-b2] No [] operator overload for type
                    object.TypeInfo_Class
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

Both dlang-bot and dlang-tour fail to build with 2.075.0-b2 due a regression
manifesting in the build of Vibe.d:

https://travis-ci.org/dlang-bots/dlang-bot/jobs/250517978
https://travis-ci.org/dlang-tour/core/jobs/250464149


---------
Log:

vibe-d:core 0.7.31: building configuration "libevent"...
tiating
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(698):   
    instantiated from here: alloc!(TCPContext*)
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/core/drivers/libevent2_tcp.d(614):
       instantiated from here: opCall!(TCPContext*)
mustache-d 0.1.3: building configuration "library"...
vibe-d:utils 0.7.31: building configuration "library"...
vibe-d:data 0.7.31: building configuration "library"...
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(844):
Error: no [] operator overload for type object.TypeInfo_Class
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(647):
Error: template instance vibe.utils.memory.internalEmplace!(ReadWriteMutex)
error instantiating
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/core/drivers/libevent2.d(1328):
       instantiated from here: alloc!()
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(844):
Error: no [] operator overload for type object.TypeInfo_Class
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(647):
Error: template instance vibe.utils.memory.internalEmplace!(Mutex) error
instantiating
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/core/drivers/libevent2.d(1329):
       instantiated from here: alloc!()
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(844):
Error: no [] operator overload for type object.TypeInfo_Class
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(647):
Error: template instance vibe.utils.memory.internalEmplace!(Condition, Mutex)
error instantiating
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/core/drivers/libevent2.d(1460):
       instantiated from here: alloc!(Mutex)
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(844):
Error: no [] operator overload for type object.TypeInfo_Class
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(647):
Error: template instance
vibe.utils.memory.internalEmplace!(Libevent2TCPConnection, TCPContext*) error
instan../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(844):
Error: no [] operator overload for type object.TypeInfo_Class
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(647):
Error: template instance vibe.utils.memory.internalEmplace!(OpenSSLStream,
Stream, OpenSSLContext, TLSStreamState, string, NetworkAddress) error
instantiating
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/utils/memory.d(698):   
    instantiated from here: alloc!(Stream, OpenSSLContext, TLSStreamState,
string, NetworkAddress)
../../../.dub/packages/vibe-d-0.7.31/vibe-d/source/vibe/stream/tls.d(152):     
  instantiated from here: opCall!(Stream, OpenSSLContext, TLSStreamState,
string, NetworkAddress)
dmd failed with exit code 1.

--
Jul 05