mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
Triple dot module uri resolution for local dependencies #117
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?
Originally created by @jw-y on GitHub (Mar 15, 2024).
Not sure if I am doing something wrong, but here it goes.
Here is the file structure
Summary
Basically, if it try to import and initialize with
import "@base/bar/baz/bar.pkl"inderive/tmp.pklwhere
base/bar/baz/bar.pklimportsbase/foo.pklwith triple dot syntax (extends ".../foo.pkl")it gives following error
Files
base/PklProjectbase/foo.pklbase/bar/baz/bar.pklderive/PklProjectderive/tmp.pklCommands
Resulting
PklProject.deps.jsonIf I replace triple dot syntax in
base/bar/baz/bar.pklwithextends "../../foo.pkl"error doesn't show anymore
@bioball commented on GitHub (Mar 16, 2024):
Thanks! Looks like a bug.
@juhagman commented on GitHub (Apr 29, 2025):
I cannot reproduce. Latest Pkl, latest macOS.