mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #607] [MERGED] Fix: thrown error globbed import/read is amended #635
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/607
Author: @bioball
Created: 8/1/2024
Status: ✅ Merged
Merged: 8/5/2024
Merged by: @bioball
Base:
main← Head:import-glob-fix📝 Commits (1)
2b45c21Fix: read extra storage from owner instead of receiver📊 Changes
6 files changed (+59 additions, -2 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/ast/expression/unary/ImportGlobMemberBodyNode.java(+1 -1)📝
pkl-core/src/main/java/org/pkl/core/ast/expression/unary/ReadGlobMemberBodyNode.java(+1 -1)📝
pkl-core/src/test/files/LanguageSnippetTests/input/basic/importGlob.pkl(+10 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/input/basic/readGlob.pkl(+8 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/output/basic/importGlob.pcf(+15 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/output/basic/readGlob.pcf(+24 -0)📄 Description
This fixes an issue where a PklBugException is thrown when a globbed read/import is amended.
Closes https://github.com/apple/pkl/issues/606
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.