Skip to content

Make Typed Racket implementation structs authentic.#1072

Merged
samth merged 1 commit into
racket:masterfrom
samth:authentic-structs
Jan 29, 2026
Merged

Make Typed Racket implementation structs authentic.#1072
samth merged 1 commit into
racket:masterfrom
samth:authentic-structs

Conversation

@samth
Copy link
Copy Markdown
Member

@samth samth commented Apr 16, 2021

No description provided.

@samth samth marked this pull request as ready for review April 20, 2021 13:55
@capfredf
Copy link
Copy Markdown
Member

Should we also make other structs authentic, like those in static-contracts/?

@samth
Copy link
Copy Markdown
Member Author

samth commented Apr 21, 2021

Yes, I think so.

@samth samth force-pushed the authentic-structs branch 4 times, most recently from a15559a to 6285ba4 Compare July 14, 2022 14:29
@samth samth force-pushed the authentic-structs branch from 6285ba4 to 987db71 Compare July 19, 2022 14:31
@samth samth force-pushed the authentic-structs branch 5 times, most recently from 5450771 to 6c875d1 Compare January 23, 2026 19:27
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 34 files in this pull request and found no issues.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 33 files in this pull request and found no issues.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 13 files in this pull request and found no issues.

Add #:authentic to internal structs across the codebase:
- Type representation structs (rep/, env/)
- Static contract combinators and structures
- Type inference structs (infer/)
- Type checking structs (typecheck/)
- Parsing mode structs (private/)

These structs are internal implementation details that should
not be impersonated at runtime.
@samth samth force-pushed the authentic-structs branch from 6c875d1 to 0835831 Compare January 23, 2026 20:14
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 14 files in this pull request and found no issues.

@samth samth merged commit ce8d069 into racket:master Jan 29, 2026
3 checks passed
@samth samth deleted the authentic-structs branch January 29, 2026 22:05
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