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

Update scalafmt-core to 3.5.8 #621

Merged
merged 3 commits into from
Jul 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.5.8
2c2205a1b787e4cb36ef071f7ceceb366c86da28
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
runner.dialect = "scala3"
version = "3.5.2"
version = "3.5.8"
maxColumn = 80
40 changes: 20 additions & 20 deletions Dsl/src/main/scala/com/thoughtworks/dsl/Dsl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ private[dsl] trait LowPriorityDsl0 extends LowPriorityDsl1 { this: Dsl.type =>

object Dsl extends LowPriorityDsl0 {
def apply[Keyword, Domain, Value]: (
(
Keyword,
(Value => Domain)
) => Domain
(
Keyword,
(Value => Domain)
) => Domain
) =:= Dsl[Keyword, Domain, Value] =
summon
private[dsl] abstract class TrampolineFunction1[-A, +R] extends (A => R) {
Expand Down Expand Up @@ -165,10 +165,10 @@ object Dsl extends LowPriorityDsl0 {
Dsl[Keyword, Domain, Value]
object StackSafe:
def apply[Keyword, Domain, Value]: (
(
Keyword,
(Value => Domain)
) => Domain
(
Keyword,
(Value => Domain)
) => Domain
) =:= StackSafe[Keyword, Domain, Value] =
summon

Expand All @@ -183,10 +183,10 @@ object Dsl extends LowPriorityDsl0 {
Dsl[Keyword, Domain, Value]
object StackUnsafe:
def apply[Keyword, Domain, Value]: (
(
Keyword,
(Value => Domain)
) => Domain
(
Keyword,
(Value => Domain)
) => Domain
) =:= StackUnsafe[Keyword, Domain, Value] =
summon

Expand All @@ -202,10 +202,10 @@ object Dsl extends LowPriorityDsl0 {
] = Dsl[Keyword, Domain, Value]
object Composed:
def apply[Keyword, Domain, Value]: (
(
Keyword,
(Value => Domain)
) => Domain
(
Keyword,
(Value => Domain)
) => Domain
) =:= Composed[Keyword, Domain, Value] =
summon

Expand All @@ -220,10 +220,10 @@ object Dsl extends LowPriorityDsl0 {
Dsl[Keyword, Domain, Value]
object Original:
def apply[Keyword, Domain, Value]: (
(
Keyword,
(Value => Domain)
) => Domain
(
Keyword,
(Value => Domain)
) => Domain
) =:= Original[Keyword, Domain, Value] =
summon

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ object Each {
object ToKeyword {

def apply[ComprehensionOrKeyword, Keyword]: (
ComprehensionOrKeyword => Keyword
ComprehensionOrKeyword => Keyword
) =:= ToKeyword[ComprehensionOrKeyword, Keyword] = summon

given [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ object Shift extends LowPriorityShift0 {
], NewDomain, Value] = Dsl.Original[Shift[Domain, Value], NewDomain, Value]
object StackSafeShiftDsl:
def apply[Domain, NewDomain, Value]: (
(
Shift[Domain, Value],
Value => NewDomain
) => NewDomain
(
Shift[Domain, Value],
Value => NewDomain
) => NewDomain
) =:= StackSafeShiftDsl[Domain, NewDomain, Value] =
Dsl.Original.apply[Shift[Domain, Value], NewDomain, Value]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ object TryCatch extends TryCatch.LowPriority0 {
) ?=> Dsl.Composed[TryCatch[BlockKeyword, CaseKeyword], OuterDomain, Value]
object DslComposer:
def apply[OuterDomain, Value, BlockDomain]: (
[
BlockKeyword,
CaseKeyword
] => (
Dsl.Searching[BlockKeyword, BlockDomain, Value],
Dsl.Searching[CaseKeyword, BlockDomain, Value]
) ?=> Dsl.Composed[TryCatch[
[
BlockKeyword,
CaseKeyword
], OuterDomain, Value]
] => (
Dsl.Searching[BlockKeyword, BlockDomain, Value],
Dsl.Searching[CaseKeyword, BlockDomain, Value]
) ?=> Dsl.Composed[TryCatch[
BlockKeyword,
CaseKeyword
], OuterDomain, Value]
) =:= DslComposer[OuterDomain, Value, BlockDomain] = summon

private[TryCatch] trait LowPriority0:
Expand Down