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

Start supporting struct type literals in lowering. #2822

Merged
merged 45 commits into from
May 18, 2023

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented May 11, 2023

This currently handles most of struct types and member access, but not values. The value issue is, I think, an underlying semantic IR approach (changed in #2824). I'd still like to get this in in order to ensure I'm creating IR at least reasonably well, but I want to be clear this is expected to be incomplete and is split out mainly to try to keep PRs in reasonable units.

@github-actions github-actions bot added explorer Action items related to Carbon explorer code toolchain labels May 11, 2023
@jonmeow jonmeow changed the title Start supporting structs. Start supporting struct types in lowering. May 11, 2023
@jonmeow jonmeow changed the title Start supporting struct types in lowering. Start supporting struct type literals in lowering. May 11, 2023
@jonmeow jonmeow removed the explorer Action items related to Carbon explorer code label May 12, 2023
@jonmeow jonmeow marked this pull request as ready for review May 15, 2023 22:16
@github-actions github-actions bot requested a review from zygoloid May 15, 2023 22:17
Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

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

Minor tweaks around empty types, but generally makes sense.

toolchain/lowering/lowering_context.cpp Outdated Show resolved Hide resolved
toolchain/lowering/lowering_handle.cpp Show resolved Hide resolved
@jonmeow jonmeow requested a review from chandlerc May 17, 2023 20:04
Copy link
Contributor

@chandlerc chandlerc left a comment

Choose a reason for hiding this comment

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

LG

@jonmeow jonmeow merged commit e42b48e into carbon-language:trunk May 18, 2023
@jonmeow jonmeow deleted the struct-work branch May 18, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants