mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01: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:1543909566/docs/modules/language-tutorial/pages/03_writing_a_template.adoc (L189-L203)1543909566/docs/modules/language-tutorial/pages/03_writing_a_template.adoc (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.