www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15403] New: [internal] FileExp represents ImportExpression,

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

          Issue ID: 15403
           Summary: [internal] FileExp represents ImportExpression, the
                    AST class naming is not intuitive
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: trivial
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

In expression.d:

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


it's a time to rename FileExp to ImportExp.

--
Dec 03 2015