Skip to content

Commit d08d0ab

Browse files
committed
[Compiler plugin] remove transformation that doesn't do anything anymore
1 parent 1d072d9 commit d08d0ab

File tree

1 file changed

+0
-10
lines changed
  • plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/extensions

1 file changed

+0
-10
lines changed

plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/extensions/IrBodyFiller.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,6 @@ private class DataFrameFileLowering(val context: IrPluginContext) : FileLowering
132132
irFile.transformChildren(this, null)
133133
}
134134

135-
override fun visitClass(declaration: IrClass): IrStatement {
136-
val origin = declaration.origin
137-
return if (origin is IrDeclarationOrigin.GeneratedByPlugin && origin.pluginKey is DataFramePlugin) {
138-
declaration.transformChildren(this, null)
139-
declaration
140-
} else {
141-
super.visitClass(declaration)
142-
}
143-
}
144-
145135
override fun visitConstructor(declaration: IrConstructor): IrStatement {
146136
val origin = declaration.origin
147137
if (!(origin is IrDeclarationOrigin.GeneratedByPlugin && origin.pluginKey is TokenGenerator.Key)) return declaration

0 commit comments

Comments
 (0)