forked from scalacenter/scalafix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the intellijCompatible option (scalacenter#48)
- Loading branch information
Showing
7 changed files
with
75 additions
and
169 deletions.
There are no files selected for viewing
This file contains 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
20 changes: 0 additions & 20 deletions
20
input/src/main/scala/fix/ExplicitlyImportedImplicitsIntelliJCompatible.scala
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
input/src/main/scala/fix/ExplicitlyImportedImplicitsLanguageFeature.scala
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
rules = [OrganizeImports] | ||
OrganizeImports.importsOrder = Ascii | ||
*/ | ||
package fix | ||
|
||
import scala.concurrent.ExecutionContext | ||
import fix.Implicits.b._ | ||
import scala.languageFeature.postfixOps | ||
import ExecutionContext.Implicits.global | ||
import scala.languageFeature.implicitConversions | ||
import fix.Implicits.a.{i, s} | ||
|
||
object ExplicitlyImportedImplicitsLanguageFeature { | ||
def f1()(implicit i: Int) = ??? | ||
def f2()(implicit s: String) = ??? | ||
f1() | ||
f2() | ||
} |
15 changes: 0 additions & 15 deletions
15
output/src/main/scala/fix/ExplicitlyImportedImplicitsIntelliJCompatible.scala
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
output/src/main/scala/fix/ExplicitlyImportedImplicitsLanguageFeature.scala
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package fix | ||
|
||
import scala.concurrent.ExecutionContext | ||
import scala.languageFeature.implicitConversions | ||
import scala.languageFeature.postfixOps | ||
|
||
import fix.Implicits.b._ | ||
|
||
import ExecutionContext.Implicits.global | ||
import fix.Implicits.a.i | ||
import fix.Implicits.a.s | ||
|
||
object ExplicitlyImportedImplicitsLanguageFeature { | ||
def f1()(implicit i: Int) = ??? | ||
def f2()(implicit s: String) = ??? | ||
f1() | ||
f2() | ||
} |
This file contains 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
This file contains 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