fix build error

This commit is contained in:
inotia00 2024-12-22 16:44:50 +09:00
parent 2561fd2922
commit 9f7bdb51ac

View File

@ -33,6 +33,7 @@ class ExtensionHook internal constructor(
private val insertIndexResolver: ((Method) -> Int),
private val contextRegisterResolver: (Method) -> String,
) {
context(BytecodePatchContext)
operator fun invoke(extensionClassDescriptor: String) {
val insertIndex = insertIndexResolver(fingerprint.method)
val contextRegister = contextRegisterResolver(fingerprint.method)