Original PR: https://github.com/apple/pkl/pull/822 Author: @bioball Created: 11/17/2024 Status: ❌ Closed
Base: main ← Head: mapping-listing-typecheck-fix
main
mapping-listing-typecheck-fix
6e1d857
3 files changed (+24 additions, -0 deletions)
📝 pkl-core/src/main/java/org/pkl/core/runtime/VmUtils.java (+3 -0) ➕ pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError8.pkl (+6 -0) ➕ pkl-core/src/test/files/LanguageSnippetTests/output/errors/listingTypeCheckError8.err (+15 -0)
pkl-core/src/main/java/org/pkl/core/runtime/VmUtils.java
pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError8.pkl
pkl-core/src/test/files/LanguageSnippetTests/output/errors/listingTypeCheckError8.err
This addresses a regression where a value can possibly not be type-casted correctly.
Closes https://github.com/apple/pkl/issues/785
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/822
Author: @bioball
Created: 11/17/2024
Status: ❌ Closed
Base:
main← Head:mapping-listing-typecheck-fix📝 Commits (1)
6e1d857Fix: check computed members against listing/mapping owner📊 Changes
3 files changed (+24 additions, -0 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/runtime/VmUtils.java(+3 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError8.pkl(+6 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/errors/listingTypeCheckError8.err(+15 -0)📄 Description
This addresses a regression where a value can possibly not be type-casted correctly.
Closes https://github.com/apple/pkl/issues/785
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.