File tree Expand file tree Collapse file tree
OPAL/br/src/main/scala/org/opalj/br/fpcf/properties/cg Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,10 +299,12 @@ sealed class ConcreteCallees(
299299 _incompleteCallSites ++ incompleteCallSites,
300300 _indirectCallReceivers.unionWith(
301301 indirectCallReceivers,
302- (_, r, l ) ⇒ {
302+ (_, l, r ) ⇒ {
303303 r.unionWith(
304304 l,
305- (_, _, _) ⇒ throw new UnknownError (" Indirect callee derived by two analyses" )
305+ (_, vl, vr) ⇒
306+ if (vl == vr) vl
307+ else throw new UnknownError (" Incompatible receivers for indirect call" )
306308 )
307309 }
308310 ),
@@ -311,7 +313,9 @@ sealed class ConcreteCallees(
311313 (_, r, l) ⇒ {
312314 r.unionWith(
313315 l,
314- (_, _, _) ⇒ throw new UnknownError (" Indirect callee derived by two analyses" )
316+ (_, vl, vr) ⇒
317+ if (vl == vr) vl
318+ else throw new UnknownError (" Incompatible parameters for indirect call" )
315319 )
316320 }
317321 )
You can’t perform that action at this time.
0 commit comments