D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 11928 - compiler template errors
Summary: compiler template errors
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 00:29 UTC by Daniel Killebrew
Modified: 2020-05-25 08:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Daniel Killebrew 2014-01-15 00:29:41 UTC
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
Comment 1 Daniel Killebrew 2014-01-15 02:16:57 UTC
Sonke pointed out that it's probably a duplicate of https://d.puremagic.com/issues/show_bug.cgi?id=11563
Comment 2 basile-z 2020-05-25 08:03:44 UTC
The information to reproduce are lost as the OP left GH.