mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #373] [MERGED] Ensure owner and receiver are reset after executing alias #527
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/373
Author: @bioball
Created: 3/28/2024
Status: ✅ Merged
Merged: 3/28/2024
Merged by: @bioball
Base:
main← Head:typealias-bugfix📝 Commits (1)
059970dEnsure owner and receiver are reset after executing alias📊 Changes
3 files changed (+23 additions, -7 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/ast/type/TypeNode.java(+12 -7)📝
pkl-core/src/test/files/LanguageSnippetTests/input/types/typeAlias2.pkl(+7 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAlias2.pcf(+4 -0)📄 Description
This fixes an issue where the frame's owner/receiver are not reset if a type test on a typealias fails.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.