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

fix GetConstructor fails when class has override Constructor #2

Closed
wants to merge 1 commit into from

Conversation

ifshuaishuai
Copy link

when a class has override Constructor and without generic parameter, origin implements may return the wrong Constructor.

@liiir1985
Copy link
Collaborator

liiir1985 commented Nov 6, 2016

Can you please provide a test case for this?
The code you changed should be equivalent logically

@liiir1985
Copy link
Collaborator

After I looked into this code, this if statement should be added by mistake
It doesn't make any sense to check generic arguments on Constructor, so I closed the pull request.
Please recheck if the issue still exists

@liiir1985 liiir1985 closed this Nov 7, 2016
@ifshuaishuai
Copy link
Author

that's make sense,it seems i totally misunderstood the origin code 👍

liiir1985 pushed a commit that referenced this pull request Feb 24, 2018
liiir1985 pushed a commit that referenced this pull request Mar 1, 2021
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