mirror of
https://github.com/apple/pkl.git
synced 2026-03-20 08:14:15 +01: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 += " 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"
|
||||
|
||||
Reference in New Issue
Block a user