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

Function does_instantiationT_fit_extends_condition

compiler/generics-reification.cpp:239–277  ·  view source on GitHub ↗

`f ` can restrict T on declaration, for example `f ` on instantiation `f ()`, we have to detect whether `A` satisfies this "extends" restriction (implements SomeInterface here) this function does this check, filling out_err or leaving it empty for `f ` this function is called for every of OR conditions

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 5

is_parent_ofMethod · 0.80
resolveMethod · 0.80
is_interfaceMethod · 0.80
as_human_readableMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected