Java: Force high precision for MapValueContent.

This commit is contained in:
Anders Schack-Mulligen
2023-04-28 14:38:44 +02:00
parent 51c08f1314
commit 97cd3b8576

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. */