Created
August 12, 2017 08:26
-
-
Save fwbrasil/fe4e459ce05c78d0fe9646a282c0f2dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fix | |
import scalafix._ | |
import scala.meta._ | |
case class ReplaceSymbols(sctx: SemanticCtx) extends SemanticRewrite(sctx) { | |
def rewrite(ctx: RewriteCtx): Patch = | |
ctx.replaceSymbols( | |
"scala.concurrent.Await" -> "io.trane.future.scala.Await", | |
"scala.concurrent.Future" -> "io.trane.future.scala.Future", | |
"scala.concurrent.Promise" -> "io.trane.future.scala.Promise") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment