MCPcopy Create free account
hub / github.com/argotorg/solidity / isFixedTypeVar

Method isFixedTypeVar

libsolidity/experimental/ast/TypeSystem.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119
120bool TypeEnvironment::isFixedTypeVar(Type const& _typeVar) const
121{
122 return
123 std::holds_alternative<TypeVariable>(_typeVar) &&
124 m_fixedTypeVariables.count(std::get<TypeVariable>(_typeVar).index()) != 0;
125}
126
127void TypeEnvironment::fixTypeVars(std::vector<Type> const& _typeVars)
128{

Callers 2

hasGenericTypeVarsMethod · 0.80
typeToStringMethod · 0.80

Calls 2

countMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected