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.8.3 #1180

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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.8.3
7abeeb974bbf38e1040e680eb9885d1b37c68fb5
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=3.8.0
version=3.8.3
runner.dialect = scala212
fileOverride {
"glob:**/scala-2.13*/**" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object JShortRing extends Ring[JShort] {
override val zero: JShort = Short.box(0)
override val one: JShort = Short.box(1)
override def plus(x: JShort, y: JShort): JShort = (x + y).toShort
override def negate(x: JShort): JShort = (-x).toShort
override def negate(x: JShort): JShort = -x.toShort
override def minus(x: JShort, y: JShort): JShort = (x - y).toShort
override def times(x: JShort, y: JShort): JShort = (x * y).toShort
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object IntRing extends Ring[Int] {
object ShortRing extends Ring[Short] {
override def zero: Short = 0.toShort
override def one: Short = 1.toShort
override def negate(v: Short): Short = (-v).toShort
override def negate(v: Short): Short = -v.toShort
override def plus(l: Short, r: Short): Short = (l + r).toShort
override def minus(l: Short, r: Short): Short = (l - r).toShort
override def times(l: Short, r: Short): Short = (l * r).toShort
Expand Down
Loading