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

remove redundant reflection in CreateClassInfo #4033

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SimonCropp
Copy link
Contributor

No description provided.

Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

I hope this was not a side-effect call that was used to populate ctors.

@nohwnd is this used for the source gen part?

@nohwnd
Copy link
Member

nohwnd commented Nov 11, 2024

This looks like code that was added for source gen so we get the constructors from the metadata, it should not be just side-effect code. If it is not connected to the results of the code we call now, then we should connect it.

@nohwnd
Copy link
Member

nohwnd commented Nov 11, 2024

I can have a more detailed look on this, but unfortunately not now.

Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

Blocking for now until we do further investigation and see if the usage of it is missing or if that's superflous code to be removed.

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.

3 participants