Skip to content

Commit bd90c5e

Browse files
authored
Merge pull request #759 from Kotlin/fix-condition
Revert filter condition, fixes broken logic
2 parents e840c22 + 8b4d2b0 commit bd90c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/codeGen/MarkersExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ internal object MarkersExtractor {
5555

5656
private fun getFields(markerClass: KClass<*>, nullableProperties: Boolean): List<GeneratedField> {
5757
val order = getPropertyOrderFromPrimaryConstructor(markerClass) ?: emptyMap()
58-
val structuralProperties = markerClass.memberProperties.filter { it.hasAnnotation<ScopeProperty>() }
58+
val structuralProperties = markerClass.memberProperties.filter { !it.hasAnnotation<ScopeProperty>() }
5959
return structuralProperties.sortedBy { order[it.name] ?: Int.MAX_VALUE }.mapIndexed { _, it ->
6060
val fieldName = ValidFieldName.of(it.name)
6161
val columnName = it.findAnnotation<ColumnName>()?.name ?: fieldName.unquoted

0 commit comments

Comments
 (0)