Skip to content

rst: add property assignment operator for function name handling#2644

Merged
borisbat merged 1 commit into
GaijinEntertainment:masterfrom
profelis:master
May 13, 2026
Merged

rst: add property assignment operator for function name handling#2644
borisbat merged 1 commit into
GaijinEntertainment:masterfrom
profelis:master

Conversation

@profelis
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 13, 2026 15:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the RST documentation generator’s operator-name rendering configurable by introducing a public property_assignment_operator setting and using it when formatting clone-assignment property functions (.name`clone).

Changes:

  • Added property_assignment_operator to the module’s public configuration (default ":=").
  • Updated function_name formatting for .name`clone to use the configurable operator string.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread daslib/rst.das
@@ -1818,7 +1819,7 @@ def function_name(func : FunctionPtr) {
elif (safeName |> starts_with(".`")) { safeName = ".{safeName |> slice(2)}"; }
// .name`clone → ".name :=" (clone-assign on property)
@borisbat borisbat merged commit 7b3d348 into GaijinEntertainment:master May 13, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants