Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for empty inline table #240

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Conversation

BOOMeranGG
Copy link
Collaborator

Fix #236

@nulls nulls requested a review from orchestr7 September 4, 2023 07:02
@@ -131,6 +131,9 @@ public class TomlInlineTable internal constructor(
.trimCurlyBraces()
.trim()
.also {
if (it.isEmpty()) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too easy :D

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised too

@BOOMeranGG BOOMeranGG merged commit 59d3269 into main Sep 4, 2023
@BOOMeranGG BOOMeranGG deleted the support-empty-inline-table branch September 4, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for zero-item inline tables
2 participants