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

[SP004]: Implement the translation from initialize list to constructor with visibility control #5192

Open
kaizhangNV opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang

Comments

@kaizhangNV
Copy link
Contributor

This task is tracking the implementation of one topic in the design proposal of https://github.com/shader-slang/slang/blob/master/docs/proposals/004-initialization.md.

If a struct is initialized with initialize list, we will need to synthesize a constructor, and translate the initialize list to the call to such synthesized constructor.

@kaizhangNV kaizhangNV self-assigned this Sep 30, 2024
@kaizhangNV kaizhangNV added goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang goal:forward looking Feature needed at a later date, not connected to a specific use case. labels Sep 30, 2024
@kaizhangNV kaizhangNV changed the title Implement the translation from initialize list to constructor with visibility control [SP004]: Implement the translation from initialize list to constructor with visibility control Oct 1, 2024
@bmillsNV bmillsNV added this to the Q4 2024 (Fall) milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang
Projects
None yet
Development

No branches or pull requests

2 participants