www.digitalmars.com         C & C++   DMDScript  

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


          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
    extern (D) this(Loc loc, Expression e)
        super(loc, TOKimport, __traits(classInstanceSize, FileExp), e);

By recent issue 15394 fix (PR #5294), it's changed to use TOKimport. So I think
it's a time to rename FileExp to ImportExp.

Dec 03 2015