-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Simkin
committed
Aug 20, 2021
1 parent
b2e29e2
commit 278eef0
Showing
10 changed files
with
128 additions
and
12 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
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
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
27 changes: 27 additions & 0 deletions
27
testlib/src/main/resources/scala/scalafmt/basic.cleanWithCustomConf_3.0.0
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,27 @@ | ||
@foobar( | ||
"annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
} | ||
) | ||
object a | ||
extends b | ||
with c { | ||
def foo[ | ||
T: Int#Double#Triple, | ||
R <% String | ||
]( | ||
@annot1 | ||
x: Int @annot2 = | ||
2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => | ||
2 | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
testlib/src/main/resources/scala/scalafmt/basic.clean_3.0.0
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,20 @@ | ||
@foobar( | ||
"annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
} | ||
) | ||
object a extends b with c { | ||
def foo[T: Int#Double#Triple, R <% String]( | ||
@annot1 | ||
x: Int @annot2 = 2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => 2 | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
testlib/src/main/resources/scala/scalafmt/basicPost3.0.0.clean
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,20 @@ | ||
@foobar( | ||
"annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
} | ||
) | ||
object a extends b with c { | ||
def foo[T: Int#Double#Triple, R <% String]( | ||
@annot1 | ||
x: Int @annot2 = 2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => 2 | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
testlib/src/main/resources/scala/scalafmt/basicPost3.0.0.cleanWithCustomConf
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,27 @@ | ||
@foobar( | ||
"annot", { | ||
val x = 2 | ||
val y = 2 // y=2 | ||
x + y | ||
} | ||
) | ||
object a | ||
extends b | ||
with c { | ||
def foo[ | ||
T: Int#Double#Triple, | ||
R <% String | ||
]( | ||
@annot1 | ||
x: Int @annot2 = | ||
2, | ||
y: Int = 3 | ||
): Int = { | ||
"match" match { | ||
case 1 | 2 => | ||
3 | ||
case <A>2</A> => | ||
2 | ||
} | ||
} | ||
} |
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