Skip to content

Commit

Permalink
Fix @Local.type extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Mar 30, 2024
1 parent a28e49e commit 3fe87de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ object MEExpressionMatchUtil {

val locals = annotation.findDeclaredAttributeValue("local")?.findAnnotations() ?: emptyList()
for (localAnnotation in locals) {
val localType = annotation.findDeclaredAttributeValue("type")?.resolveType()
val localType = localAnnotation.findDeclaredAttributeValue("type")?.resolveType()
val localInfo = LocalInfo.fromAnnotation(localType, localAnnotation)
pool.addMember(definitionId) { insn ->
if (insn !is VarInsnNode) {
Expand Down

0 comments on commit 3fe87de

Please sign in to comment.