www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13027] New: Assertion `ex->op == TOKblit || ex->op ==

https://issues.dlang.org/show_bug.cgi?id=13027

          Issue ID: 13027
           Summary: Assertion `ex->op == TOKblit || ex->op ==
                    TOKconstruct' failed.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice, industry
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com

void main()
{
    scope a = b!"c";
}


2.065:
Error: template instance b!"c" template 'b' is not defined

2.066 (git master):
test.d(3): Error: template instance b!"c" template 'b' is not defined
dmd: declaration.c:1544: virtual void VarDeclaration::semantic(Scope*):
Assertion `ex->op == TOKblit || ex->op == TOKconstruct' failed.
Aborted (core dumped)

--
Jul 02 2014