Skip to content

Commit

Permalink
Merge pull request #10765 from UplinkCoder/fxCtfeRefs
Browse files Browse the repository at this point in the history
Remove ctfe references from re-purposed code
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot committed Feb 5, 2020
2 parents 8fc81f4 + 20e24c0 commit 870e208
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dmd/foreachvar.d
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import core.stdc.string;
import dmd.apply;
import dmd.arraytypes;
import dmd.attrib;
import dmd.ctfeexpr;
import dmd.dclass;
import dmd.declaration;
import dmd.dstruct;
Expand Down Expand Up @@ -68,8 +67,6 @@ void foreachVar(Expression e, void delegate(VarDeclaration) dgVar)

override void visit(ErrorExp e)
{
//.error(e.loc, "CTFE internal error: ErrorExp");
//assert(0);
}

override void visit(DeclarationExp e)
Expand Down

0 comments on commit 870e208

Please sign in to comment.