Skip to content

Tag S7-generated constructors with new_S7_constructor()#719

Merged
hadley merged 2 commits into
mainfrom
new-S7-constructor
Jul 6, 2026
Merged

Tag S7-generated constructors with new_S7_constructor()#719
hadley merged 2 commits into
mainfrom
new-S7-constructor

Conversation

@hadley

@hadley hadley commented Jun 24, 2026

Copy link
Copy Markdown
Member

This allows us to elminate the fragile is_S3_stub_constructor() and is useful infrastructure for #717

This allows us to elminate the fragile `is_S3_stub_constructor()`  and is useful infrastructure for #717
@hadley hadley requested a review from t-kalinowski June 24, 2026 19:28
Comment thread R/constructor.R
}

#' @export
print.S7_constructor <- function(x, ...) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm surprised there are no snapshot diffs as part of this PR. I would expect to see some change in snapshots anytime we change printing.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The point of this change is to make sure that there aren't any diffs 😄

@hadley hadley merged commit 4266efb into main Jul 6, 2026
13 checks passed
@hadley hadley deleted the new-S7-constructor branch July 6, 2026 18:36
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.

2 participants