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: npe in getEnclosingType when getTypeDeclaration is null #2033

Merged
merged 1 commit into from
Jun 5, 2018

Conversation

tdurieux
Copy link
Collaborator

@tdurieux tdurieux commented Jun 4, 2018

@pvojtechovsky can you check the semantic of what I did.
I'm not sure if it is correct

@pvojtechovsky
Copy link
Collaborator

It is better then it was. But it is hard to say what is correct behavior if some types are not available - it cannot return 100% correct results then.

So I am ok with that fix. Thank you Thomas. Are you going to add some test? Or is it done?

@monperrus monperrus merged commit ee13030 into INRIA:master Jun 5, 2018
@tdurieux
Copy link
Collaborator Author

tdurieux commented Jun 5, 2018

I planned to try to add test.
I will do another pr if I succeed to do it.

@surli surli mentioned this pull request Jun 25, 2018
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.

3 participants