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

review fix: method should never be transient #1701

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

surli
Copy link
Collaborator

@surli surli commented Nov 9, 2017

This PR fix a bug brings by @seintur : a method with varargs is currently printed out with transient modifier.
This happens because of the recent usage of methodDeclaration.binding.modifier and the fact that varargs have the same modifier flag than varargs. See: https://stackoverflow.com/questions/16233910/can-transient-keywords-mark-a-method

The fix is an exception made when computing modifiers for methods.

@surli surli changed the title WiP fix: method should never be transient review fix: method should never be transient Nov 9, 2017
@monperrus monperrus merged commit 4990f5f into INRIA:master Nov 9, 2017
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