fix concat operator and string typo

This commit is contained in:
Adrian Lanzafame
2024-02-07 10:01:48 +10:00
committed by Dan Chao
parent 21bb67f5be
commit e978f12a6d

View File

@@ -738,9 +738,9 @@ pkl> species
pkl> species = "Barn"
pkl> species
"Barn"
pkl> species += " Owl"
pkl> species + " Owl"
pkl> species
"Barn owl"
"Barn Owl"
----
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> species = "$name Owl"
pkl> species
"Barn owl"
"Barn Owl"
pkl> name = "Elf"
pkl> species
"Elf Owl"