mirror of
https://github.com/apple/pkl.git
synced 2026-07-09 06:25:16 +02:00
fix concat operator and string typo
This commit is contained in:
committed by
Dan Chao
parent
21bb67f5be
commit
e978f12a6d
@@ -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