refactor: Migrate to new extension methods for String.toInstruction(...) and String.toInstructions(...) (#45)
This commit is contained in:
+2
-2
@@ -147,8 +147,8 @@ class MicroGBytecodePatch : BytecodePatch(
|
||||
|
||||
else -> throw Exception("This case should never happen.")
|
||||
}
|
||||
result.method.implementation!!.addInstructions(
|
||||
0, stringInstructions.trimIndent().toInstructions()
|
||||
result.method.addInstructions(
|
||||
0, stringInstructions
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user