mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1112] [MERGED] Fix crash due to parse error in module header #896
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1112
Author: @HT154
Created: 7/1/2025
Status: ✅ Merged
Merged: 7/1/2025
Merged by: @stackoverflow
Base:
main← Head:fix-invalid-module-decl-crash📝 Commits (1)
b01db79Fix crash due to parse error in module header📊 Changes
4 files changed (+10 additions, -1 deletions)
View changed files
➕
pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidModule1.pkl(+1 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/modules/invalidModule1.err(+6 -0)📝
pkl-parser/src/main/java/org/pkl/parser/syntax/Module.java(+2 -1)📝
pkl-parser/src/test/kotlin/org/pkl/parser/ParserComparisonTest.kt(+1 -0)📄 Description
Fixes #1111
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.