Skip to content

Commit

Permalink
Remove unnecessary calls to super class default ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Sep 18, 2015
1 parent 71a25c9 commit e91a299
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/attrib.d
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public:
/********************************* AttribDeclaration ****************************/
final extern (D) this(Dsymbols* decl)
{
super();
this.decl = decl;
}

Expand Down
5 changes: 0 additions & 5 deletions src/dsymbol.d
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,6 @@ public:
/********************************* ScopeDsymbol ****************************/
final extern (D) this()
{
super();
}

final extern (D) this(Identifier id)
Expand Down Expand Up @@ -1563,7 +1562,6 @@ public:
/****************************** WithScopeSymbol ******************************/
extern (D) this(WithStatement withstate)
{
super();
this.withstate = withstate;
}

Expand Down Expand Up @@ -1621,22 +1619,19 @@ public:
/****************************** ArrayScopeSymbol ******************************/
extern (D) this(Scope* sc, Expression e)
{
super();
assert(e.op == TOKindex || e.op == TOKslice || e.op == TOKarray);
exp = e;
this.sc = sc;
}

extern (D) this(Scope* sc, TypeTuple t)
{
super();
type = t;
this.sc = sc;
}

extern (D) this(Scope* sc, TupleDeclaration s)
{
super();
td = s;
this.sc = sc;
}
Expand Down
2 changes: 0 additions & 2 deletions src/dversion.d
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public:

extern (D) this(Loc loc, uint level)
{
super();
this.level = level;
this.loc = loc;
}
Expand Down Expand Up @@ -134,7 +133,6 @@ public:

extern (D) this(Loc loc, uint level)
{
super();
this.level = level;
this.loc = loc;
}
Expand Down

0 comments on commit e91a299

Please sign in to comment.