mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #822] [CLOSED] Fix: check computed members against listing/mapping owner #757
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/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.