Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First draft of structs design doc #98

Closed
wants to merge 15 commits into from
Closed

First draft of structs design doc #98

wants to merge 15 commits into from

Conversation

josh11b
Copy link
Contributor

@josh11b josh11b commented Jun 26, 2020

Carbon will have two ways of letting users define product types: structs and
tuples. Structs are the more full-featured of the two; they may have names,
methods, etc. This proposal adds an initial design for structs.

@googlebot googlebot added the cla: yes PR meets CLA requirements according to bot. label Jun 26, 2020
@josh11b josh11b added proposal A proposal WIP labels Jun 26, 2020
@chandlerc chandlerc changed the base branch from master to trunk July 2, 2020 03:20
to capture the value of `foo`, perhaps you have to do something like
`typeof(foo).Bar`?

**Open question:** Instead of making this member function calling syntax
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer this approach. I provides a more clear way for the programmer to express their intent.

@jonmeow jonmeow marked this pull request as draft April 20, 2021 16:20
@jonmeow jonmeow removed the WIP label Apr 20, 2021
@github-actions
Copy link

github-actions bot commented Aug 4, 2021

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active, please comment or remove the inactive label.
This PR is labeled inactive because the last activity was over 90 days ago. This PR will be closed and archived after 14 additional days without activity.

@github-actions github-actions bot added the inactive Issues and PRs which have been inactive for at least 90 days. label Aug 4, 2021
@github-actions
Copy link

We triage inactive PRs and issues in order to make it easier to find active work. If this PR should remain active or becomes active again, please reopen it.
This PR was closed and archived because there has been no new activity in the 14 days since the inactive label was added.

@github-actions github-actions bot closed this Aug 19, 2021
@github-actions github-actions bot added the proposal deferred Decision made, proposal deferred label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes PR meets CLA requirements according to bot. inactive Issues and PRs which have been inactive for at least 90 days. proposal deferred Decision made, proposal deferred proposal A proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants