mirror of
https://github.com/apple/pkl.git
synced 2026-05-28 01:29:15 +02:00
Minor discrepancy in tutorial part 3 (version 0.25.1) #4
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 @Edward-Knight on GitHub (Feb 3, 2024).
In the Typed objects, properties and amending section, the
TutorialPart.pklhas aname: Stringproperty, but in the next section (A new template) in theworkshop2023.pklexample theagenda(which I assume is to be anagenda: Mapping<String, TutorialPart>fromWorkshop.pkl) usestitleinstead ofname:https://github.com/apple/pkl/blob/15439095667dfe102934811e58ed677601b17deb/docs/modules/language-tutorial/pages/03_writing_a_template.adoc?plain=1#L189-L203
https://github.com/apple/pkl/blob/15439095667dfe102934811e58ed677601b17deb/docs/modules/language-tutorial/pages/03_writing_a_template.adoc?plain=1#L305-L310
After following along with the tutorial, adding
amends "Workshop.pkl"to the top ofworkshop2023.pklresulted in the error:@Edward-Knight commented on GitHub (Feb 3, 2024):
I belive this patch should fix:
@holzensp commented on GitHub (Feb 5, 2024):
Happy to take this as-is, but also happy for you to do this by PR and get proper contributor attribution.