Skip to content

Recognise := as assignment - #1923

Merged
hadley merged 1 commit into
mainfrom
walrus-assignment
Oct 2, 2026
Merged

hadley merged 1 commit into
mainfrom
walrus-assignment

Conversation

@hadley

@hadley hadley commented Oct 2, 2026

Copy link
Copy Markdown
Member

S7's walrus operator is now treated like <-, so Foo := new_class() generates full Rd (including usage) instead of a bare topic.

Fixes #1916.

S7's walrus operator now documents the same as `<-`, e.g. `Foo := new_class()` generates full Rd including usage.

Fixes #1916.
@hadley
hadley merged commit 54edf3f into main Oct 2, 2026
12 of 13 checks passed
@hadley
hadley deleted the walrus-assignment branch October 2, 2026 12:33
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.

bug: S7 assignment via := doesn't document the same as <-

1 participant