Skip to content

Commit 28b088a

Browse files
committed
Fix #2240
1 parent 1e05baf commit 28b088a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/platform/mixin/handlers/injectionPoint/NewInsnInjectionPoint.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class NewInsnSelectorParser : MixinSelectorParser {
223223
return if (strippedValue.startsWith('(')) {
224224
NewInsnDescriptorSelector(strippedValue)
225225
} else {
226-
NewInsnTypeSelector(strippedValue)
226+
NewInsnTypeSelector(strippedValue.removeSurrounding("L", ";"))
227227
}
228228
}
229229
}

0 commit comments

Comments
 (0)