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

Method fixTypeVars

libsolidity/experimental/ast/TypeSystem.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void TypeEnvironment::fixTypeVars(std::vector<Type> const& _typeVars)
128{
129 for (Type const& typeVar: _typeVars)
130 {
131 solAssert(std::holds_alternative<TypeVariable>(typeVar));
132 m_fixedTypeVariables.insert(std::get<TypeVariable>(typeVar).index());
133 }
134}
135
136TypeEnvironment TypeEnvironment::clone() const
137{

Callers 4

endVisitMethod · 0.80
visitMethod · 0.80
declareTypeClassMethod · 0.80

Calls 2

insertMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected