mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 23:23:37 +01:00
[PR #696] [MERGED] Fix handling of file: module URIs with non-ASCII characters
#678
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/696
Author: @HT154
Created: 10/16/2024
Status: ✅ Merged
Merged: 10/24/2024
Merged by: @bioball
Base:
main← Head:nihongjouzu📝 Commits (7)
d91e9b5Fix handling of file: module URIs with non-ASCII characters0a2c4d6Refactor to IoUtils; Cover FileResolver, StackFrameTransformer; more testsf8605ecHopefully fix windows supporteabb9d2pathOfURI -> pathOfa890dd9Exclude test on windows; format string2e86f77Fix regex7f538c5Fix test📊 Changes
10 files changed (+121 additions, -9 deletions)
View changed files
📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliEvaluatorTest.kt(+56 -0)📝
pkl-core/src/main/java/org/pkl/core/StackFrameTransformers.java(+1 -2)📝
pkl-core/src/main/java/org/pkl/core/module/FileResolver.java(+3 -2)📝
pkl-core/src/main/java/org/pkl/core/module/ModuleKeys.java(+1 -3)📝
pkl-core/src/main/java/org/pkl/core/util/IoUtils.java(+14 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/modules/日本語.pkl(+6 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/modules/日本語_error.pkl(+2 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/modules/日本語.pcf(+21 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/modules/日本語_error.err(+10 -0)📝
pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt(+7 -2)📄 Description
Resolves #653
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.