www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11928] New: compiler template errors

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11928

           Summary: compiler template errors
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: killebrew.daniel gmail.com


--- Comment #0 from Daniel Killebrew <killebrew.daniel gmail.com> 2014-01-15
00:29:41 PST ---
I have a minimized set of files (thanks DustMite!) that causes a compiler
error. If I remove any single import statement, or one of the classes defined
in a file (e.g. Libevent2TCPConnection), the error is 'fixed'. However, reading
the text of the error, it seems to me that the compiler errors have nothing to
do with these imports or these classes. So it must be a bug.

I made a picture of the imports:
https://github.com/gittywithexcitement/DMDImportBug/blob/master/imports.png

I have the minimized files in a repository:
https://github.com/gittywithexcitement/DMDImportBug

Clone the repository and type 'make' and you should get the errors. Although
Sonke Ludwig was having trouble reproducing the compiler errors (but he didn't
try with this exact repository), so it may be something specific to my setup,
except that I can reproduce it on another machine.

My specifics:
# uname -a:
Linux adesktop 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

DMD64 D Compiler v2.064 downloaded from
http://downloads.dlang.org/releases/2013/dmd_2.064.2-0_amd64.deb

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 15 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11928



--- Comment #1 from Daniel Killebrew <killebrew.daniel gmail.com> 2014-01-15
02:16:57 PST ---
Sonke pointed out that it's probably a duplicate of
https://d.puremagic.com/issues/show_bug.cgi?id=11563

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