@@ -221,7 +221,7 @@ private tuple[CFG methodCFG, LabelState lstate] createMethodCFG(loc np, ClassIte
221221 // Add initial nodes to represent initializing parameters with default values,
222222 // plus add flow edges between these default initializers
223223 list [CFGNode ] paramNodes = [ ];
224- for (param (paramName ,paramDefault ,byRef ,_,_,_,_) <- m .params ) {
224+ for (param (paramName ,paramDefault ,byRef ,_,_,_,_,_ ) <- m .params ) {
225225 newLabel = incLabel ();
226226 newNode = (someExpr (e ) := paramDefault )
227227 ? actualNotProvided (paramName , e , byRef , newLabel )[lab =newLabel ]
@@ -309,7 +309,7 @@ private tuple[CFG functionCFG, LabelState lstate] createFunctionCFG(loc np, Stmt
309309 // Add initial nodes to represent initializing parameters with default values,
310310 // plus add flow edges between these default initializers
311311 list [CFGNode ] paramNodes = [ ];
312- for (param (paramName ,paramDefault ,byRef ,_,_,_,_) <- f .params ) {
312+ for (param (paramName ,paramDefault ,byRef ,_,_,_,_,_ ) <- f .params ) {
313313 newLabel = incLabel ();
314314 newNode = (someExpr (e ) := paramDefault )
315315 ? actualNotProvided (paramName , e , byRef , newLabel )[lab =newLabel ]
@@ -376,7 +376,7 @@ public set[Lab] init(Stmt s, LabelState lstate) {
376376
377377 // Given a list of constants, the first thing that occurs is the expression that is
378378 // assigned to the first constant in the list.
379- case const (list [Const ] consts ) : {
379+ case const (list [Const ] consts , _ ) : {
380380 return init (head (consts ).constValue , lstate );
381381 }
382382
@@ -668,7 +668,7 @@ private set[Lab] final(Stmt s, LabelState lstate) {
668668 }
669669
670670 // We always have at least one const; the final const provides the labels.
671- case const (list [Const ] consts ) : {
671+ case const (list [Const ] consts , _ ) : {
672672 return final (last (consts ).constValue , lstate );
673673 }
674674
@@ -968,7 +968,7 @@ public tuple[FlowEdges,LabelState] internalFlow(Stmt s, LabelState lstate) {
968968 // For consts, we add the edges internal to each const expression, plus we link up
969969 // the expressions. The final labels are already the final labels for the last
970970 // const initializer expression, so we don't need to further link those up here.
971- case const (list [Const ] consts ) : {
971+ case const (list [Const ] consts , _ ) : {
972972 vals = [ c .constValue | c <- consts ];
973973 for (v <- vals ) < edges , lstate > = addExpEdges (edges , lstate , v );
974974 < edges , lstate > = addExpSeqEdges (edges , lstate , vals );
0 commit comments