Skip to content

Commit

Permalink
Merge pull request #975 from Kotlin/tryparse-break
Browse files Browse the repository at this point in the history
[fix] Parser should be skipped after it fails to parse value
  • Loading branch information
Jolanrensen authored Nov 28, 2024
2 parents 513c4e3 + a65a82b commit 9f4ef5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ internal fun DataColumn<String?>.tryParseImpl(options: ParserOptions?): DataColu

else -> {
val trimmed = str.trim()
val res = parserWithOptions(trimmed) ?: continue
val res = parserWithOptions(trimmed) ?: break
parsedValues += res
hasNotNulls = true
}
Expand Down

0 comments on commit 9f4ef5a

Please sign in to comment.