mirror of
https://github.com/apple/pkl.git
synced 2026-04-23 08:48:36 +02:00
docs: fixed referenced property in "fixed" section (#1065)
This commit is contained in:
@@ -1059,7 +1059,7 @@ class Penguin extends Bird {
|
|||||||
<2> Error: modifier `fixed` cannot be applied to property `name`.
|
<2> Error: modifier `fixed` cannot be applied to property `name`.
|
||||||
|
|
||||||
The `fixed` modifier is useful for defining properties that are meant to be derived from other properties.
|
The `fixed` modifier is useful for defining properties that are meant to be derived from other properties.
|
||||||
In the following snippet, the property `result` is not meant to be assigned to, because it is derived
|
In the following snippet, the property `wingspanWeightRatio` is not meant to be assigned to, because it is derived
|
||||||
from other properties.
|
from other properties.
|
||||||
|
|
||||||
[source%parsed,{pkl}]
|
[source%parsed,{pkl}]
|
||||||
|
|||||||
Reference in New Issue
Block a user