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

Internal Error (parameter-list-wrapping) #164

Closed
SUPERCILEX opened this issue Feb 28, 2018 · 4 comments
Closed

Internal Error (parameter-list-wrapping) #164

SUPERCILEX opened this issue Feb 28, 2018 · 4 comments

Comments

@SUPERCILEX
Copy link

Functions like this seem to cause the issue:

fun DialogFragment.show(
        manager: FragmentManager,
        tag: String,
        args: Bundle = Bundle(),
        argsListener: (Bundle.() -> Unit)? = null
) {
    arguments = args.apply { argsListener?.invoke(this) }
    show(manager, tag)
}
@shyiko
Copy link
Collaborator

shyiko commented Feb 28, 2018

Hi Alex. Can you please provide a complete example? (I'm unable to reproduce)

@SUPERCILEX
Copy link
Author

If you update ktlint to 0.16.1 on my repo, you'll get a ton of these issues.

@shyiko
Copy link
Collaborator

shyiko commented Feb 28, 2018

Fixed in 0.17.0 (Maven Central sync might take up to 25 minutes).

@shyiko shyiko closed this as completed Feb 28, 2018
@SUPERCILEX
Copy link
Author

Awesome, thanks!

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

No branches or pull requests

2 participants