Skip to content

Commit

Permalink
Fix AssertionError (mcdev-error-reprt#1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Nov 24, 2023
1 parent 8ac07f9 commit 9fa4563
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ abstract class MixinExtrasInjectorAnnotationHandler : InjectorAnnotationHandler(
.resolveAsm(annotation.project) as? MethodTargetMember
)?.classAndMethod
sourceClassAndMethod?.method?.getGenericReturnType(sourceClassAndMethod.clazz, annotation.project)
?: Type.getType(insn.desc).toPsiType(elementFactory)
?: Type.getReturnType(insn.desc).toPsiType(elementFactory)
}

is FieldInsnNode -> {
Expand Down

0 comments on commit 9fa4563

Please sign in to comment.