Skip to content

Commit

Permalink
Move functions from func.d to funcsem.d.
Browse files Browse the repository at this point in the history
These require `import dscope` that we want to remove from func.d in pursuit of https://github.com/orgs/dlang/projects/41.

Other functions that still need to be moved include `overloadApply()`, `isUnique()` and `equals()`, the latter needing a visitor akin dlang#15782.
  • Loading branch information
veelo committed Mar 3, 2024
1 parent 02d6d07 commit c013060
Show file tree
Hide file tree
Showing 10 changed files with 819 additions and 864 deletions.
1 change: 1 addition & 0 deletions compiler/src/dmd/dclass.d
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import dmd.dsymbol;
import dmd.dsymbolsem;
import dmd.errors;
import dmd.func;
import dmd.funcsem;
import dmd.id;
import dmd.identifier;
import dmd.location;
Expand Down
1 change: 1 addition & 0 deletions compiler/src/dmd/declaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import dmd.dtemplate;
import dmd.errors;
import dmd.expression;
import dmd.func;
import dmd.funcsem;
import dmd.globals;
import dmd.gluelayer;
import dmd.id;
Expand Down
1 change: 1 addition & 0 deletions compiler/src/dmd/dmangle.d
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ import dmd.dtemplate;
import dmd.errors;
import dmd.expression;
import dmd.func;
import dmd.funcsem;
import dmd.globals;
import dmd.id;
import dmd.identifier;
Expand Down
1 change: 1 addition & 0 deletions compiler/src/dmd/dstruct.d
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import dmd.dtemplate;
import dmd.errors;
import dmd.expression;
import dmd.func;
import dmd.funcsem;
import dmd.globals;
import dmd.id;
import dmd.identifier;
Expand Down
1 change: 1 addition & 0 deletions compiler/src/dmd/escape.d
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import dmd.dsymbol;
import dmd.errors;
import dmd.expression;
import dmd.func;
import dmd.funcsem;
import dmd.globals : FeatureState;
import dmd.id;
import dmd.identifier;
Expand Down
Loading

0 comments on commit c013060

Please sign in to comment.