Compiler Bug

Alex AJ at gmail.com
Tue Apr 2 12:35:18 UTC 2019


Comes from doing foo!(Alias!([AliasSeq!(A,B,C)])) or just 
foo!(AliasSeq!(A,B,C)) when trying to pass a type for A, removing 
A works. A is a template parameter from another template.

Shouldn't the errors give line numbers and source code where the 
error ooccured rather than a bunch of rather useless information? 
I realize it is a fault but if it can spit out that info maybe it 
should keep track source code(the compilers).


ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the 
information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help 
with the reduction.
---
DMD v2.084.0

predefs   DigitalMars Windows CRuntime_Microsoft 
CppRuntime_Microsoft LittleEndian D_Version2 all D_InlineAsm 
D_InlineAsm_X86 X86 Win32 assert D_ModuleInfo D_Exceptions 
D_TypeInfo D_HardFloat
binary    C:\dmd2\windows\bin\dmd.exe
version   v2.084.0

config    C:\dmd2\windows\bin\sc.ini
DFLAGS    -IC:\dmd2\windows\bin\..\..\src\phobos 
-IC:\dmd2\windows\bin\..\..\src\druntime\import -L/OPT:NOICF
---

object.Error@(0): Access Violation
----------------
0x004E1B1D
0x006E4282


More information about the Digitalmars-d mailing list