Skip to content

Update scalafmt-core to 3.7.17 #106

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

Open
wants to merge 3 commits into
base: main
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.7.17
7bc92d0c8a34e1b0e2a89ad0db2e09dc803d024f
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.5"
version = "3.7.17"
runner.dialect = scala213
fileOverride {
"glob:**/output/src/main/scala/**" {
Expand Down
999 changes: 614 additions & 385 deletions output/src/main/scala/generated/dotty/tools/dotc/semanticdb/Access.scala

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,82 +10,105 @@ import scala.annotation.internal.sharable

@SerialVersionUID(0L)
final case class Annotation(
tpe: dotty.tools.dotc.semanticdb.Type = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toCustom(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance)
) extends SemanticdbGeneratedMessage derives CanEqual {
@transient @sharable
private var __serializedSizeMemoized: _root_.scala.Int = 0
private def __computeSerializedSize(): _root_.scala.Int = {
var __size = 0

{
val __value = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toBase(tpe)
if (__value.serializedSize != 0) {
__size += 1 + SemanticdbOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
}
};
__size
}
override def serializedSize: _root_.scala.Int = {
var __size = __serializedSizeMemoized
if (__size == 0) {
__size = __computeSerializedSize() + 1
__serializedSizeMemoized = __size
tpe: dotty.tools.dotc.semanticdb.Type =
dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe
.toCustom(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance)
) extends SemanticdbGeneratedMessage
derives CanEqual {
@transient @sharable
private var __serializedSizeMemoized: _root_.scala.Int = 0
private def __computeSerializedSize(): _root_.scala.Int = {
var __size = 0

{
val __value =
dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toBase(tpe)
if (__value.serializedSize != 0) {
__size += 1 + SemanticdbOutputStream.computeUInt32SizeNoTag(
__value.serializedSize
) + __value.serializedSize
}
__size - 1

}
def writeTo(`_output__`: SemanticdbOutputStream): _root_.scala.Unit = {
{
val __v = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toBase(tpe)
if (__v.serializedSize != 0) {
_output__.writeTag(1, 2)
_output__.writeUInt32NoTag(__v.serializedSize)
__v.writeTo(_output__)
}
};
};
__size
}
override def serializedSize: _root_.scala.Int = {
var __size = __serializedSizeMemoized
if (__size == 0) {
__size = __computeSerializedSize() + 1
__serializedSizeMemoized = __size
}
def withTpe(__v: dotty.tools.dotc.semanticdb.Type): Annotation = copy(tpe = __v)




// @@protoc_insertion_point(GeneratedMessage[dotty.tools.dotc.semanticdb.Annotation])
__size - 1

}
def writeTo(`_output__`: SemanticdbOutputStream): _root_.scala.Unit = {
{
val __v =
dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toBase(tpe)
if (__v.serializedSize != 0) {
_output__.writeTag(1, 2)
_output__.writeUInt32NoTag(__v.serializedSize)
__v.writeTo(_output__)
}
};
}
def withTpe(__v: dotty.tools.dotc.semanticdb.Type): Annotation =
copy(tpe = __v)

// @@protoc_insertion_point(GeneratedMessage[dotty.tools.dotc.semanticdb.Annotation])
}

object Annotation extends SemanticdbGeneratedMessageCompanion[dotty.tools.dotc.semanticdb.Annotation] {
implicit def messageCompanion: SemanticdbGeneratedMessageCompanion[dotty.tools.dotc.semanticdb.Annotation] = this
def parseFrom(`_input__`: SemanticdbInputStream): dotty.tools.dotc.semanticdb.Annotation = {
var __tpe: _root_.scala.Option[dotty.tools.dotc.semanticdb.TypeMessage] = _root_.scala.None
object Annotation
extends SemanticdbGeneratedMessageCompanion[
dotty.tools.dotc.semanticdb.Annotation
] {
implicit def messageCompanion: SemanticdbGeneratedMessageCompanion[
dotty.tools.dotc.semanticdb.Annotation
] = this
def parseFrom(
`_input__`: SemanticdbInputStream
): dotty.tools.dotc.semanticdb.Annotation = {
var __tpe: _root_.scala.Option[dotty.tools.dotc.semanticdb.TypeMessage] =
_root_.scala.None
var _done__ = false
while (!_done__) {
val _tag__ = _input__.readTag()
_tag__ match {
case 0 => _done__ = true
case 10 =>
__tpe = _root_.scala.Some(__tpe.fold(LiteParser.readMessage[dotty.tools.dotc.semanticdb.TypeMessage](_input__))(LiteParser.readMessage(_input__, _)))
__tpe = _root_.scala.Some(
__tpe.fold(
LiteParser
.readMessage[dotty.tools.dotc.semanticdb.TypeMessage](_input__)
)(LiteParser.readMessage(_input__, _))
)
case tag => _input__.skipField(tag)
}
}
dotty.tools.dotc.semanticdb.Annotation(
tpe = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toCustom(__tpe.getOrElse(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance))
tpe = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toCustom(
__tpe.getOrElse(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance)
)
)
}







lazy val defaultInstance = dotty.tools.dotc.semanticdb.Annotation(
tpe = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe.toCustom(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance)
tpe = dotty.tools.dotc.semanticdb.Annotation._typemapper_tpe
.toCustom(dotty.tools.dotc.semanticdb.TypeMessage.defaultInstance)
)
final val TPE_FIELD_NUMBER = 1
@transient @sharable
private[semanticdb] val _typemapper_tpe: SemanticdbTypeMapper[dotty.tools.dotc.semanticdb.TypeMessage, dotty.tools.dotc.semanticdb.Type] = implicitly[SemanticdbTypeMapper[dotty.tools.dotc.semanticdb.TypeMessage, dotty.tools.dotc.semanticdb.Type]]
private[semanticdb] val _typemapper_tpe: SemanticdbTypeMapper[
dotty.tools.dotc.semanticdb.TypeMessage,
dotty.tools.dotc.semanticdb.Type
] = implicitly[SemanticdbTypeMapper[
dotty.tools.dotc.semanticdb.TypeMessage,
dotty.tools.dotc.semanticdb.Type
]]
def of(
tpe: dotty.tools.dotc.semanticdb.Type
): _root_.dotty.tools.dotc.semanticdb.Annotation = _root_.dotty.tools.dotc.semanticdb.Annotation(
tpe
)
tpe: dotty.tools.dotc.semanticdb.Type
): _root_.dotty.tools.dotc.semanticdb.Annotation =
_root_.dotty.tools.dotc.semanticdb.Annotation(
tpe
)
// @@protoc_insertion_point(GeneratedMessageCompanion[dotty.tools.dotc.semanticdb.Annotation])
}
Loading