mirror of
https://github.com/apple/pkl.git
synced 2026-02-24 03:14:54 +01:00
Use object name instead of 'name' property
This commit is contained in:
committed by
Philip K.F. Hölzenspies
parent
99717c61af
commit
28d98b461b
@@ -32,7 +32,7 @@ parrot = (bird) {
|
||||
}
|
||||
----
|
||||
|
||||
Parrot and Pigeon have nearly identical properties.
|
||||
`parrot` and `bird` have nearly identical properties.
|
||||
They only differ in their name and taxonomy, so if you have already written out `bird`, you can say that `parrot` is just like `pigeon` except `name` is `"Parrot"`, diet is `"Berries"` the `taxonomy.order` is `"Psittaciformes"`.
|
||||
When you run this, Pkl expands everything fully.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user