mirror of
https://github.com/apple/pkl.git
synced 2026-07-09 22:52:44 +02:00
fix concat operator and string typo
This commit is contained in:
committed by
Philip K.F. Hölzenspies
parent
604bb83acb
commit
e9df244485
@@ -738,9 +738,9 @@ pkl> species
|
|||||||
pkl> species = "Barn"
|
pkl> species = "Barn"
|
||||||
pkl> species
|
pkl> species
|
||||||
"Barn"
|
"Barn"
|
||||||
pkl> species += " Owl"
|
pkl> species + " Owl"
|
||||||
pkl> species
|
pkl> species
|
||||||
"Barn owl"
|
"Barn Owl"
|
||||||
----
|
----
|
||||||
|
|
||||||
Due to Pkl's late binding semantics, redefining a member affects dependent members:
|
Due to Pkl's late binding semantics, redefining a member affects dependent members:
|
||||||
@@ -750,7 +750,7 @@ Due to Pkl's late binding semantics, redefining a member affects dependent membe
|
|||||||
pkl> name = "Barn"
|
pkl> name = "Barn"
|
||||||
pkl> species = "$name Owl"
|
pkl> species = "$name Owl"
|
||||||
pkl> species
|
pkl> species
|
||||||
"Barn owl"
|
"Barn Owl"
|
||||||
pkl> name = "Elf"
|
pkl> name = "Elf"
|
||||||
pkl> species
|
pkl> species
|
||||||
"Elf Owl"
|
"Elf Owl"
|
||||||
|
|||||||
Reference in New Issue
Block a user