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

review1: fix: CtCatchVariable merge type and multiType #1668

Merged
merged 3 commits into from
Oct 30, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

fix of #1593

@pvojtechovsky pvojtechovsky changed the title fix: CtCatchVariable merge type and multiType review1: fix: CtCatchVariable merge type and multiType Oct 29, 2017
@pvojtechovsky
Copy link
Collaborator Author

It is ready for merge from my point of view.

There are already tests of CtCatchVariable#getType(), where it expects it returns common supertype, because it behaved like that before too - JDT compiler provided that common super type. The test is:
TryCatchTest#testExceptionJava7

@monperrus
Copy link
Collaborator

super!

in #1593 you wrote some nice assertions to highlight the bug, would it make sense to put them in a test here?

@pvojtechovsky
Copy link
Collaborator Author

Test was added. Let's merge it, so we can continue with next PRs ;-)

@monperrus monperrus merged commit c95a620 into INRIA:master Oct 30, 2017
@pvojtechovsky pvojtechovsky deleted the fixCatchVariableType branch September 1, 2018 07:23
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