[Issue 6799] New: Backend ICE involving AAs and pointers to structs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 9 23:23:18 PDT 2011
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: nobody at puremagic.com
ReportedBy: debio264 at gmail.com
--- Comment #0 from Andrew Wiley <debio264 at 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: -------
More information about the Digitalmars-d-bugs
mailing list