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

Function apply_defaultTs_if_someTs_not_set

compiler/generics-reification.cpp:95–101  ·  view source on GitHub ↗

`f ` could have default type for `T` in declaration, this default should be applied if T wasn't provided/reified we also support `f `, that's why we call phpdoc_replace_genericTs_with_reified() here having default types which depend on earlier T is specially useful for generic classes, e.g. `C >`

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

provideTMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected