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.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/373
**Author:** [@bioball](https://github.com/bioball)
**Created:** 3/28/2024
**Status:** ✅ Merged
**Merged:** 3/28/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `typealias-bugfix`
---
### 📝 Commits (1)
- [`059970d`](https://github.com/apple/pkl/commit/059970daededf96cf6d67691bc082783abea0a4e) Ensure owner and receiver are reset after executing alias
### 📊 Changes
**3 files changed** (+23 additions, -7 deletions)
<details>
<summary>View changed files</summary>
📝 `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)
</details>
### 📄 Description
This fixes an issue where the frame's owner/receiver are not reset if a type test on a typealias fails.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.