You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow variable declarations under or and not patterns and across case labels in a switch section to share code.
if(eisCc or Wrapper{Prop:Cc})returnc;ExprSimplify(Expre){switch(e){caseMult(Const(1),varx):caseMult(varx,Const(1)):caseAdd(Const(0),varx):caseAdd(varx,Const(0)):returnSimplify(x);// ..}}
Variable declarations under disjunctive patterns
Summary
Allow variable declarations under
or
andnot
patterns and acrosscase
labels in aswitch
section to share code.Instead of:
Also relax single-declaration rules within expression boundaries as long as each variable is assigned once.
Also relax single-declaration rules within conditions of an
if/else
:Design meetings
The text was updated successfully, but these errors were encountered: