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

Method freshTypeVariable

libsolidity/experimental/ast/TypeSystem.cpp:184–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184experimental::Type TypeSystem::freshTypeVariable(Sort _sort)
185{
186 _sort.classes.emplace(primitiveClass(PrimitiveClass::Type));
187 return freshVariable(_sort);
188}
189
190std::vector<TypeEnvironment::UnificationFailure> TypeEnvironment::instantiate(TypeVariable _variable, Type _type)
191{

Callers 5

visitMethod · 0.80
endVisitMethod · 0.80
memberTypeMethod · 0.80
freshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected