Regression between 0.26.1 and 0.26.3: properties provided on the commandline with = in them are parsed differently #200

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

Originally created by @KushalP on GitHub (Aug 20, 2024).

This appears to be a regression between 0.26.1 and 0.26.3. Properties that have an = symbol in them are parsed differently.

Reproduction

# 0.26.1
❯ ./pkl-0.26.1 eval -x 'read("prop:foo")' -p foo=bar=baz pkl:base
bar=baz

# 0.26.3
❯ ./pkl-0.26.3 eval -x 'read("prop:foo")' -p foo=bar=baz pkl:base
bar
Originally created by @KushalP on GitHub (Aug 20, 2024). This appears to be a regression between `0.26.1` and `0.26.3`. Properties that have an `=` symbol in them are parsed differently. ## Reproduction ``` # 0.26.1 ❯ ./pkl-0.26.1 eval -x 'read("prop:foo")' -p foo=bar=baz pkl:base bar=baz # 0.26.3 ❯ ./pkl-0.26.3 eval -x 'read("prop:foo")' -p foo=bar=baz pkl:base bar ```
adam closed this issue 2025-12-30 01:22:04 +01:00
Author
Owner

@holzensp commented on GitHub (Aug 20, 2024):

Managed to reproduce. Undoubtedly due to the fix here.

@holzensp commented on GitHub (Aug 20, 2024): Managed to reproduce. Undoubtedly due to the [fix here](https://github.com/apple/pkl/pull/596).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#200