www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15394] New: [internal] CompileExp and FileExp has same op

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

          Issue ID: 15394
           Summary: [internal] CompileExp and FileExp has same op TOKmixin
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

In expression.d:

extern (C++) final class CompileExp : UnaExp
{
public:
    extern (D) this(Loc loc, Expression e)
    {
        super(loc, TOKmixin, __traits(classInstanceSize, CompileExp), e);
    }

VS:

extern (C++) final class FileExp : UnaExp
{
public:
    extern (D) this(Loc loc, Expression e)
    {
        super(loc, TOKmixin, __traits(classInstanceSize, FileExp), e);
    }


Currently it doesn't cause serious problems in dmd, but obviously we should fix
it.

--
Dec 02 2015