Skip to content

Commit 8728017

Browse files
committed
C#: Increase fieldFlowBranchLimit in test
68014fd means that more accessors are properly extracted, and consequently the calls to `get_Item` in the test have more dispatch targets. Increasing `fieldFlowBranchLimit` makes the test pass again.
1 parent 91806da commit 8728017

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/ql/test/library-tests/dataflow/collections/CollectionFlow.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class Conf extends DataFlow::Configuration {
1616
mc.getAnArgument() = sink.asExpr()
1717
)
1818
}
19+
20+
override int fieldFlowBranchLimit() { result = 10 }
1921
}
2022

2123
from DataFlow::PathNode source, DataFlow::PathNode sink, Conf conf

0 commit comments

Comments
 (0)