Reads with same glob pattern return same result even if located in different modules/directories #159

Closed
opened 2025-12-30 01:21:38 +01:00 by adam · 1 comment
Owner

Originally created by @odenix on GitHub (May 4, 2024).

dir1/mod.pkl:

foo = read*("foo*")

dir2/mod.pkl:

foo = read*("foo*") // always returns same result as dir1/mod.foo
pkl eval dir1/mod.pkl dir2/mod.pkl

Fixed by: https://github.com/apple/pkl/pull/449

Originally created by @odenix on GitHub (May 4, 2024). dir1/mod.pkl: ``` foo = read*("foo*") ``` dir2/mod.pkl: ``` foo = read*("foo*") // always returns same result as dir1/mod.foo ``` ``` pkl eval dir1/mod.pkl dir2/mod.pkl ``` Fixed by: https://github.com/apple/pkl/pull/449
adam closed this issue 2025-12-30 01:21:38 +01:00
Author
Owner

@bioball commented on GitHub (Jun 18, 2024):

Fixed in 0.26.

@bioball commented on GitHub (Jun 18, 2024): Fixed in 0.26.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#159