Skip to content

Commit 4879cc3

Browse files
committed
[Compiler plugin] Hide errors for references that are available from friend module
1 parent 54db451 commit 4879cc3

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/impl/SimpleCol.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("INVISIBLE_REFERENCE", "CANNOT_OVERRIDE_INVISIBLE_MEMBER")
2+
13
package org.jetbrains.kotlinx.dataframe.plugin.impl
24

35
import org.jetbrains.kotlin.fir.types.ConeKotlinType

plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/impl/api/insert.kt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
2+
13
package org.jetbrains.kotlinx.dataframe.plugin.impl.api
24

35
import org.jetbrains.kotlinx.dataframe.plugin.impl.AbstractInterpreter
@@ -81,7 +83,7 @@ internal class Under0 : AbstractInterpreter<PluginDataFrameSchema>() {
8183
val Arguments.receiver: InsertClauseApproximation by insertClause()
8284

8385
override fun Arguments.interpret(): PluginDataFrameSchema {
84-
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(column.path.path.toPath(), receiver.column)), anyDataFrame)
86+
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(column.path.path.toPath(), receiver.column)))
8587
}
8688
}
8789

@@ -90,7 +92,7 @@ internal class Under1 : AbstractInterpreter<PluginDataFrameSchema>() {
9092
val Arguments.receiver: InsertClauseApproximation by insertClause()
9193

9294
override fun Arguments.interpret(): PluginDataFrameSchema {
93-
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(columnPath.path.toPath(), receiver.column)), anyRow)
95+
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(columnPath.path.toPath(), receiver.column)))
9496
}
9597
}
9698

@@ -99,7 +101,7 @@ internal class Under2 : AbstractInterpreter<PluginDataFrameSchema>() {
99101
val Arguments.receiver: InsertClauseApproximation by insertClause()
100102

101103
override fun Arguments.interpret(): PluginDataFrameSchema {
102-
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column.name), receiver.column)), anyRow)
104+
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column.name), receiver.column)))
103105
}
104106
}
105107

@@ -108,7 +110,7 @@ internal class Under3 : AbstractInterpreter<PluginDataFrameSchema>() {
108110
val Arguments.receiver: InsertClauseApproximation by insertClause()
109111

110112
override fun Arguments.interpret(): PluginDataFrameSchema {
111-
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column.name), receiver.column)), anyRow)
113+
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column.name), receiver.column)))
112114
}
113115
}
114116

@@ -117,7 +119,7 @@ internal class Under4 : AbstractInterpreter<PluginDataFrameSchema>() {
117119
val Arguments.receiver: InsertClauseApproximation by insertClause()
118120

119121
override fun Arguments.interpret(): PluginDataFrameSchema {
120-
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column), receiver.column)), anyRow)
122+
return receiver.df.insertImpl(listOf(GenericColumnsToInsert(pathOf(column), receiver.column)))
121123
}
122124
}
123125

plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/impl/api/join.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
2+
13
package org.jetbrains.kotlinx.dataframe.plugin.impl.api
24

35
import org.jetbrains.kotlinx.dataframe.plugin.impl.AbstractInterpreter

0 commit comments

Comments
 (0)