We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 649079a commit 099a683Copy full SHA for 099a683
libsolidity/experimental/analysis/TypeInference.cpp
@@ -207,7 +207,7 @@ bool TypeInference::visit(TypeClassDefinition const& _typeClassDefinition)
207
208
solAssert(m_analysis.annotation<TypeClassRegistration>(_typeClassDefinition).typeClass.has_value());
209
TypeClass typeClass = m_analysis.annotation<TypeClassRegistration>(_typeClassDefinition).typeClass.value();
210
- TypeVariable typeVar = m_typeSystem.typeClassInfo(typeClass).typeVariable;
+ TypeVariable typeVar = m_typeSystem.typeClassVariable(typeClass);
211
auto& typeMembersAnnotation = annotation().members[typeConstructor(&_typeClassDefinition)];
212
213
for (auto subNode: _typeClassDefinition.subNodes())
0 commit comments