(Translated by https://www.hiragana.jp/)
Documentation fix: const cannot be assigned/amended (#485) · luuvish/pkl@4a7f901 · GitHub
Skip to content

Commit

Permalink
Documentation fix: const cannot be assigned/amended (apple#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinprogrammer committed Jun 14, 2024
1 parent f15ad6e commit 4a7f901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/language-reference/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ One solution is to add the `const` modifier to the property being referenced.
}
----

This solution makes sense if `pigeonName` does get assigned/amended when amending module `Birds.pkl` (modules are regular objects that can be amended).
This solution makes sense if `pigeonName` does not get assigned/amended when amending module `Birds.pkl` (modules are regular objects that can be amended).

*Self-import the module*

Expand Down

0 comments on commit 4a7f901

Please sign in to comment.