Bug 15403 – [internal] FileExp represents ImportExpression, the AST class naming is not intuitive
Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-12-04T00:51:00Z
Last change time
2016-01-03T14:02:41Z
Keywords
ice, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2015-12-04T00:51:09Z
In expression.d:
extern (C++) final class FileExp : UnaExp
{
public:
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.