[Issue 15394] New: [internal] CompileExp and FileExp has same op TOKmixin

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 2 07:46:23 PST 2015


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 at puremagic.com
          Reporter: k.hara.pg at 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.

--


More information about the Digitalmars-d-bugs mailing list