Skip to content

Commit 0359c44

Browse files
authored
Merge pull request #621 from scala-steward/update/scalafmt-core-3.5.8
Update scalafmt-core to 3.5.8
2 parents 1e07fbe + 4cbf6f6 commit 0359c44

File tree

6 files changed

+36
-34
lines changed

6 files changed

+36
-34
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Scala Steward: Reformat with scalafmt 3.5.8
2+
2c2205a1b787e4cb36ef071f7ceceb366c86da28

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
runner.dialect = "scala3"
2-
version = "3.5.2"
2+
version = "3.5.8"
33
maxColumn = 80

Dsl/src/main/scala/com/thoughtworks/dsl/Dsl.scala

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ private[dsl] trait LowPriorityDsl0 extends LowPriorityDsl1 { this: Dsl.type =>
9696

9797
object Dsl extends LowPriorityDsl0 {
9898
def apply[Keyword, Domain, Value]: (
99-
(
100-
Keyword,
101-
(Value => Domain)
102-
) => Domain
99+
(
100+
Keyword,
101+
(Value => Domain)
102+
) => Domain
103103
) =:= Dsl[Keyword, Domain, Value] =
104104
summon
105105
private[dsl] abstract class TrampolineFunction1[-A, +R] extends (A => R) {
@@ -165,10 +165,10 @@ object Dsl extends LowPriorityDsl0 {
165165
Dsl[Keyword, Domain, Value]
166166
object StackSafe:
167167
def apply[Keyword, Domain, Value]: (
168-
(
169-
Keyword,
170-
(Value => Domain)
171-
) => Domain
168+
(
169+
Keyword,
170+
(Value => Domain)
171+
) => Domain
172172
) =:= StackSafe[Keyword, Domain, Value] =
173173
summon
174174

@@ -183,10 +183,10 @@ object Dsl extends LowPriorityDsl0 {
183183
Dsl[Keyword, Domain, Value]
184184
object StackUnsafe:
185185
def apply[Keyword, Domain, Value]: (
186-
(
187-
Keyword,
188-
(Value => Domain)
189-
) => Domain
186+
(
187+
Keyword,
188+
(Value => Domain)
189+
) => Domain
190190
) =:= StackUnsafe[Keyword, Domain, Value] =
191191
summon
192192

@@ -202,10 +202,10 @@ object Dsl extends LowPriorityDsl0 {
202202
] = Dsl[Keyword, Domain, Value]
203203
object Composed:
204204
def apply[Keyword, Domain, Value]: (
205-
(
206-
Keyword,
207-
(Value => Domain)
208-
) => Domain
205+
(
206+
Keyword,
207+
(Value => Domain)
208+
) => Domain
209209
) =:= Composed[Keyword, Domain, Value] =
210210
summon
211211

@@ -220,10 +220,10 @@ object Dsl extends LowPriorityDsl0 {
220220
Dsl[Keyword, Domain, Value]
221221
object Original:
222222
def apply[Keyword, Domain, Value]: (
223-
(
224-
Keyword,
225-
(Value => Domain)
226-
) => Domain
223+
(
224+
Keyword,
225+
(Value => Domain)
226+
) => Domain
227227
) =:= Original[Keyword, Domain, Value] =
228228
summon
229229

keywords-Each/src/main/scala/com/thoughtworks/dsl/keywords/Each.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ object Each {
8383
object ToKeyword {
8484

8585
def apply[ComprehensionOrKeyword, Keyword]: (
86-
ComprehensionOrKeyword => Keyword
86+
ComprehensionOrKeyword => Keyword
8787
) =:= ToKeyword[ComprehensionOrKeyword, Keyword] = summon
8888

8989
given [

keywords-Shift/src/main/scala/com/thoughtworks/dsl/keywords/Shift.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ object Shift extends LowPriorityShift0 {
101101
], NewDomain, Value] = Dsl.Original[Shift[Domain, Value], NewDomain, Value]
102102
object StackSafeShiftDsl:
103103
def apply[Domain, NewDomain, Value]: (
104-
(
105-
Shift[Domain, Value],
106-
Value => NewDomain
107-
) => NewDomain
104+
(
105+
Shift[Domain, Value],
106+
Value => NewDomain
107+
) => NewDomain
108108
) =:= StackSafeShiftDsl[Domain, NewDomain, Value] =
109109
Dsl.Original.apply[Shift[Domain, Value], NewDomain, Value]
110110

keywords-TryCatch/src/main/scala/com/thoughtworks/dsl/keywords/TryCatch.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ object TryCatch extends TryCatch.LowPriority0 {
2929
) ?=> Dsl.Composed[TryCatch[BlockKeyword, CaseKeyword], OuterDomain, Value]
3030
object DslComposer:
3131
def apply[OuterDomain, Value, BlockDomain]: (
32-
[
33-
BlockKeyword,
34-
CaseKeyword
35-
] => (
36-
Dsl.Searching[BlockKeyword, BlockDomain, Value],
37-
Dsl.Searching[CaseKeyword, BlockDomain, Value]
38-
) ?=> Dsl.Composed[TryCatch[
32+
[
3933
BlockKeyword,
4034
CaseKeyword
41-
], OuterDomain, Value]
35+
] => (
36+
Dsl.Searching[BlockKeyword, BlockDomain, Value],
37+
Dsl.Searching[CaseKeyword, BlockDomain, Value]
38+
) ?=> Dsl.Composed[TryCatch[
39+
BlockKeyword,
40+
CaseKeyword
41+
], OuterDomain, Value]
4242
) =:= DslComposer[OuterDomain, Value, BlockDomain] = summon
4343

4444
private[TryCatch] trait LowPriority0:

0 commit comments

Comments
 (0)