Skip to content

Commit 8b57e57

Browse files
cameelnikola-matic
authored andcommitted
fixup! Separate experimental analysis pass for type class registration
1 parent 193ecc5 commit 8b57e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libsolidity/experimental/analysis/TypeInference.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ bool TypeInference::visit(TypeClassDefinition const& _typeClassDefinition)
207207

208208
solAssert(m_analysis.annotation<TypeClassRegistration>(_typeClassDefinition).typeClass.has_value());
209209
TypeClass typeClass = m_analysis.annotation<TypeClassRegistration>(_typeClassDefinition).typeClass.value();
210-
TypeVariable typeVar = m_typeSystem.typeClassInfo(typeClass).typeVariable;
210+
TypeVariable typeVar = m_typeSystem.typeClassVariable(typeClass);
211211
auto& typeMembersAnnotation = annotation().members[typeConstructor(&_typeClassDefinition)];
212212

213213
for (auto subNode: _typeClassDefinition.subNodes())

0 commit comments

Comments
 (0)