MCPcopy Create free account
hub / github.com/VKCOM/kphp / get_priority

Method get_priority

compiler/inferring/restriction-stacktrace-finder.cpp:94–104  ·  view source on GitHub ↗

when there are many edges pointing from 'from' to different 'to', these edges are sorted by priority then we continue dfs starting from the highest priority this priority is now well this edge answers the question "how did from->type occur, why is it not expected_type?" for example, if from is mixed and to is mixed, it's the best answer: further we'll have to find out why to is mixed

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

are_equal_typesFunction · 0.85
is_less_or_equal_typeFunction · 0.85
get_typeMethod · 0.45

Tested by

no test coverage detected