mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #725] [MERGED] Fix typecheck error on Listing/Mapping #694
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/725
Author: @bioball
Created: 10/23/2024
Status: ✅ Merged
Merged: 10/23/2024
Merged by: @bioball
Base:
main← Head:fix-type-check-error📝 Commits (2)
508aea1Fix typecheck error on Listing/Mappingf25b9dcAdd another test case📊 Changes
9 files changed (+85 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/listingTypeCheckError6.pkl(+5 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError7.pkl(+2 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError10.pkl(+2 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError9.pkl(+5 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/errors/listingTypeCheckError6.err(+19 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/errors/listingTypeCheckError7.err(+15 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/errors/mappingTypeCheckError10.err(+15 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/errors/mappingTypeCheckError9.err(+19 -0)📄 Description
The addresses the following case:
The member in
l1should be checked against its owner; to check againstListing<String>.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.