File tree Expand file tree Collapse file tree
csharp/ql/src/semmle/code/csharp/controlflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -703,7 +703,7 @@ module FinallySplitting {
703703 }
704704
705705 int getNextListOrder ( ) {
706- result = max ( int i | i = getListOrder ( _) + 1 or i = AssertionSplitting:: getNextListOrder ( ) )
706+ result = max ( [ getListOrder ( _) + 1 , AssertionSplitting:: getNextListOrder ( ) ] )
707707 }
708708
709709 private class FinallySplitKind extends SplitKind , TFinallySplitKind {
@@ -1209,8 +1209,7 @@ module BooleanSplitting {
12091209 }
12101210
12111211 int getNextListOrder ( ) {
1212- result =
1213- max ( int i | i = getListOrder ( _) + 1 or i = ExceptionHandlerSplitting:: getNextListOrder ( ) )
1212+ result = max ( [ getListOrder ( _) + 1 , ExceptionHandlerSplitting:: getNextListOrder ( ) ] )
12141213 }
12151214
12161215 private class BooleanSplitKind extends SplitKind , TBooleanSplitKind {
@@ -1433,7 +1432,7 @@ module LoopSplitting {
14331432 }
14341433
14351434 int getNextListOrder ( ) {
1436- result = max ( int i | i = getListOrder ( _) + 1 or i = BooleanSplitting:: getNextListOrder ( ) )
1435+ result = max ( [ getListOrder ( _) + 1 , BooleanSplitting:: getNextListOrder ( ) ] )
14371436 }
14381437
14391438 private class LoopSplitKind extends SplitKind , TLoopSplitKind {
You can’t perform that action at this time.
0 commit comments