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

Lookup dynamically the declaration of all variable references #764

Merged
merged 3 commits into from
Jul 28, 2016
Merged

Lookup dynamically the declaration of all variable references #764

merged 3 commits into from
Jul 28, 2016

Conversation

GerardPaligot
Copy link
Contributor

This PR is a proposal for the issue #756.

On the issue, the solution proposed @fedorov-s-n was good but have 2 problems (specified by him): change the API and can throw an exception ParentNotInitializeException if the model isn't complete.

Me, I propose a solution widely inspired by @fedorov-s-n (big thanks to him) but I remove disadvantages: I haven't any change in the API and I handle the exception.

What do you think about it?

@monperrus
Copy link
Collaborator

I like this fully backward compatible proposal.
TODO:

  • add asserts on field and method param reference
  • add the test of @fedorov-s-n

@GerardPaligot
Copy link
Contributor Author

@monperrus Test integrated.

@monperrus monperrus merged commit f57cd71 into INRIA:master Jul 28, 2016
@monperrus
Copy link
Collaborator

thanks a lot for the joint work @fedorov-s-n @GerardPaligot

@monperrus monperrus mentioned this pull request Jul 28, 2016
@GerardPaligot GerardPaligot deleted the fix_756 branch July 28, 2016 12:58
@tdurieux tdurieux mentioned this pull request Sep 19, 2016
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