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.7.8 in series/3.x #3744

Closed
Closed
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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ c3404c6577af33d65017aeaca248d51dab770021

# Scala Steward: Reformat with scalafmt 3.7.1
52c851127a918b050f7b1d33ad71f128cb7bc48e

# Scala Steward: Reformat with scalafmt 3.7.8
c42a5869dc9ad0e6a6ceb13dd54f4a2e5b9f3156
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.7.4
version = 3.7.8

runner.dialect = Scala213Source3
fileOverride {
Expand Down
3 changes: 2 additions & 1 deletion scripts/data/scastie.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-encoding",
"UTF-8",
"-feature",
"-unchecked"
)
6 changes: 3 additions & 3 deletions scripts/data/scastie.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ object Hello extends IOApp.Simple {
def sleepPrint(word: String, name: String, rand: Random[IO]) =
for {
delay <- rand.betweenInt(200, 700)
_ <- IO.sleep(delay.millis)
_ <- IO.println(s"$word, $name")
_ <- IO.sleep(delay.millis)
_ <- IO.println(s"$word, $name")
} yield ()

val run =
Expand All @@ -21,7 +21,7 @@ object Hello extends IOApp.Simple {
name <- IO.pure("Daniel")

english <- sleepPrint("Hello", name, rand).foreverM.start
french <- sleepPrint("Bonjour", name, rand).foreverM.start
french <- sleepPrint("Bonjour", name, rand).foreverM.start
spanish <- sleepPrint("Hola", name, rand).foreverM.start

_ <- IO.sleep(5.seconds)
Expand Down
Loading