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(executable): fix the method ExecutableFactory#createReference #818

Merged
merged 1 commit into from
Sep 7, 2016

Conversation

tdurieux
Copy link
Collaborator

@tdurieux tdurieux commented Sep 6, 2016

The method ExecutableFactory#createReference now supports static method.

Fix #817

public void testGetReference() throws Exception {
final CtType<A> aClass = ModelUtils.buildClass(A.class);

testMethodReference(aClass, "getInt1", true, false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

could you please inline the assertions? it would be much more readable.

@tdurieux tdurieux force-pushed the fix-817 branch 2 times, most recently from 6afca4e to 2354143 Compare September 7, 2016 09:26
@monperrus monperrus merged commit 6d1ec4a into INRIA:master Sep 7, 2016
@tdurieux tdurieux mentioned this pull request Sep 19, 2016
@tdurieux tdurieux deleted the fix-817 branch November 30, 2016 18:59
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