mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 23:23:37 +01:00
[PR #830] [CLOSED] fix regression where typealiases are not executed in their original context #764
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/830
Author: @stackoverflow
Created: 11/27/2024
Status: ❌ Closed
Base:
main← Head:fix-typealias-scope📝 Commits (2)
2fb7b77fix regression where typealiases are not executed in their original context8712d4ffix review remark📊 Changes
7 files changed (+166 additions, -9 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/ast/member/ListingOrMappingTypeCastNode.java(+30 -1)📝
pkl-core/src/main/java/org/pkl/core/ast/type/TypeNode.java(+100 -8)➕
pkl-core/src/test/files/LanguageSnippetTests/input/types/helpers/originalTypealias.pkl(+5 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/input/types/typeAlias1.pkl(+7 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/input/types/typeAliasContext.pkl(+3 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAlias1.pcf(+6 -0)➕
pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAliasContext.err(+15 -0)📄 Description
Closes #823
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.