Merge pull request #12986 from aschackmull/java/mapvalue-precision

Java: Force high precision for MapValueContent.
This commit is contained in:
Anders Schack-Mulligen
2023-05-04 14:52:41 +02:00
committed by GitHub

View File

@@ -374,7 +374,7 @@ int accessPathLimit() { result = 5 }
* precision. This disables adaptive access path precision for such access paths.
*/
predicate forceHighPrecision(Content c) {
c instanceof ArrayContent or c instanceof CollectionContent
c instanceof ArrayContent or c instanceof CollectionContent or c instanceof MapValueContent
}
/** Holds if `n` should be hidden from path explanations. */