--- Comment #12 from Lars T. Kyllingstad <>  2009-08-14 
12:55:04 PDT ---
What I find very strange here is that when I compile my test case with DMD
2.031 specifying just the four attached files, it works. And it should -- I
think the code is valid according to the spec of both D1 and D2.

l...@neutrino:~/tmp/bug2962$ dmd moduleA.d moduleB.d moduleC.d moduleD.d 
l...@neutrino:~/tmp/bug2962$ ./moduleA

However, when I compile it like rdmd does, specifying every module in Phobos on
the command line, it fails:

l...@neutrino:~/tmp/bug2962$ dmd 'moduleA.d' 'moduleC.d'
'/usr/local/include/d/druntime/core/sys/posix/fcntl.d' [...]
dmd: glue.c:658: virtual void FuncDeclaration::toObjFile(int): Assertion
`!v->csym' failed.

(Run rdmd with --dry-run to see the full list of files it passes to DMD.)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to