http://d.puremagic.com/issues/show_bug.cgi?id=6799

           Summary: Backend ICE involving AAs and pointers to structs
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: debio...@gmail.com


--- Comment #0 from Andrew Wiley <debio...@gmail.com> 2011-10-09 23:22:29 PDT 
---
Code Sample: 
struct ChunkLoc {
}

class Chunk {

        private ChunkLoc _loc;

        @property
        public ChunkLoc loc()  {
                return _loc;
        }
}

private struct FiberWaitingForChunk {
}

class WorldCache {
        FiberWaitingForChunk*[ChunkLoc] _fibersWaitingForChunks;
        void chunkLoaded(Chunk chunk) {
                _fibersWaitingForChunks.remove(chunk.loc);
        }
}

Output:
Internal error: backend/type.c 304

(Code doesn't make much sense because it's a very reduced scenario)
(Kudos to DustMite)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to