Skip to content

Warn for empty configuration sections at EOF - #8808

Open
APickledWalrus wants to merge 1 commit into
dev/patchfrom
patch/eof-empty-section-warning
Open

Warn for empty configuration sections at EOF#8808
APickledWalrus wants to merge 1 commit into
dev/patchfrom
patch/eof-empty-section-warning

Conversation

@APickledWalrus

Copy link
Copy Markdown
Member

Problem

As described in #8056, the empty configuration section warning is not printed if the line is the last.

Solution

Print the warning if there are no lines to read when beginning to load a section.

Testing Completed

Adds a JUnit test for this warning to ConfigTest.

Supporting Information


Completes:

Related: none
AI assistance: none

@APickledWalrus
APickledWalrus requested review from a team as code owners August 3, 2026 19:21
@APickledWalrus
APickledWalrus requested review from UnderscoreTud and removed request for a team August 3, 2026 19:21
@APickledWalrus APickledWalrus added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Aug 3, 2026
@APickledWalrus
APickledWalrus requested review from Burbulinis and removed request for a team August 3, 2026 19:21
@skriptlang-automation skriptlang-automation Bot moved this to In Review in 2.16 Releases Aug 3, 2026
@skriptlang-automation skriptlang-automation Bot added the needs reviews A PR that needs additional reviews label Aug 3, 2026
@skriptlang-automation

This comment has been minimized.

@github-project-automation github-project-automation Bot moved this from In Review to Awaiting Merge in 2.16 Releases Aug 4, 2026
@APickledWalrus
APickledWalrus changed the base branch from master to dev/patch August 5, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. needs reviews A PR that needs additional reviews

Projects

Status: Awaiting Merge

Development

Successfully merging this pull request may close these issues.

Empty functions

2 participants