Skip to content

Commit

Permalink
Remove unused semicolonfun (; is not a binary operator)
Browse files Browse the repository at this point in the history
This would only be used if x ; y was converted into a binaryCode
object, but it's converted into a semiCode object instead.
  • Loading branch information
d-torrance authored and mahrud committed Aug 18, 2024
1 parent 7ad574a commit 03dddb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions M2/Macaulay2/d/actors3.d
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,6 @@ bitnotfun(e:Expr):Expr := (
else WrongArgZZ());
setupfun("bitnotfun", bitnotfun);

semicolonfun(lhs:Code,rhs:Code):Expr := when eval(lhs) is err:Error do Expr(err) else eval(rhs);
setup(SemicolonS,semicolonfun);
starfun(rhs:Code):Expr := unarymethod(rhs,StarS);
timesfun(lhs:Code,rhs:Code):Expr := (
l := eval(lhs);
Expand Down

0 comments on commit 03dddb2

Please sign in to comment.