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

ExplicitReturnTypes fails if x.explicitReturnTypes is not defined in config #255

Closed
olafurpg opened this issue Jul 17, 2017 · 0 comments
Closed

Comments

@olafurpg
Copy link
Contributor

error: Failed to fix /Users/ollie/dev/akka/akka-actor/src/main/scala/akka/pattern/GracefulStopSupport.scala
java.lang.IllegalStateException: Object {} has no field 'explicitReturnTypes'. Did you mean '' instead?

I expected it to use the default ExplicitReturnTypes config.

Workaround: adding the config

x.explicitReturnTypes = {}

fixes the problem.

olafurpg added a commit to olafurpg/scalafix that referenced this issue Jul 17, 2017
olafurpg added a commit that referenced this issue Jul 17, 2017
Fix #255, fallback to default config in ExplicitReturnTypes.
bjaglin pushed a commit to liancheng/scalafix that referenced this issue May 23, 2023
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

1 participant