We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829ab3c commit 52f7a1fCopy full SHA for 52f7a1f
src/main/kotlin/platform/mixin/handlers/desugar/FieldAssignmentDesugarer.kt
@@ -86,6 +86,7 @@ object FieldAssignmentDesugarer : Desugarer() {
86
seenStaticInitializer = true
87
} else {
88
val blockStatement = factory.createStatementFromText("{}", null) as PsiBlockStatement
89
+ DesugarUtil.setOriginalElement(blockStatement, DesugarUtil.getOriginalElement(child))
90
blockStatement.codeBlock.replace(child.body)
91
nonStaticStatementsToInsert += blockStatement
92
child.delete()
0 commit comments