Fixed EA-65709
This commit is contained in:
@@ -110,7 +110,7 @@ class CodeBuilder(private val topElement: PsiElement?) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (topElement == null || element.prototypes!!.isEmpty()) {
|
if (topElement == null || topElement is PsiCompiledElement || element.prototypes!!.isEmpty()) {
|
||||||
element.generateCode(this)
|
element.generateCode(this)
|
||||||
element.postGenerateCode(this)
|
element.postGenerateCode(this)
|
||||||
return this
|
return this
|
||||||
|
|||||||
Reference in New Issue
Block a user