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

Lambda expression should be passed outside of parentheses whenever used as the last argument #14

Closed
shyiko opened this issue Sep 6, 2016 · 1 comment
Labels

Comments

@shyiko
Copy link
Collaborator

shyiko commented Sep 6, 2016

Kotlin/kotlin-style-guide#10

@shyiko
Copy link
Collaborator Author

shyiko commented Oct 11, 2017

This rule is impossible to implement without access to the binding context (function signature in this case) (lambda cannot be put outside in case of f({ ... }) given f(cb, np = def)).

Reverted in 74114fa.

@shyiko shyiko closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant