Closed
Description
When traversing parents inside ClassLikeSupport, there is some strange bug coming from tasty with casting.
java.lang.ClassCastException: class dotty.tools.dotc.ast.Trees$DefDef cannot be cast to class dotty.tools.dotc.ast.Trees$TypeDef (dotty.tools.dotc.ast.Trees$DefDef and dotty.tools.dotc.ast.Trees$TypeDef are in unnamed module of loader 'app')
For now, there is workaround to catch errors and ignore them, resulting in heuristically correct graph where it can be