-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Compiler pluginAnything related to the DataFrame Compiler PluginAnything related to the DataFrame Compiler PluginbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentation (not KDocs)Improvements or additions to documentation (not KDocs)
Milestone
Description
The error reads 'val DataRow<Person_59I>.age2: Int' cannot be called in this context with an implicit receiver. Use an explicit receiver if necessary. Unfortunately, the only way to fix it seems to be moving it outside the lambda body.
To reproduce:
@DataSchema
data class Person(val age: Int, val name: String)
@Composable
fun DataFrameScreen(df: DataFrame<Person>) {
val a = df
.add("age2") { age }
.filter { age2 >= 20 }
a.age
a.age2
Column {
val b = df
.add("age2") { age }
.filter { age2 >= 20 }
b.age
b.age2
a.age
a.age2
}
}Metadata
Metadata
Assignees
Labels
Compiler pluginAnything related to the DataFrame Compiler PluginAnything related to the DataFrame Compiler PluginbugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentation (not KDocs)Improvements or additions to documentation (not KDocs)