Skip to content

Commit 19c23d4

Browse files
committed
Fix warnings
1 parent 0fe00e8 commit 19c23d4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ lazy val tests = crossProject(JVMPlatform)
3939
.enablePlugins(NoPublishPlugin)
4040
.dependsOn(core)
4141
.settings(
42-
scalacOptions += "-language:implicitConversions",
4342
libraryDependencies ++= Seq(
4443
"org.scalameta" %% "munit" % "0.7.29" % Test,
4544
"com.disneystreaming.smithy4s" %%% "smithy4s-dynamic" % "0.18.16" % Test,

modules/core/shared/src/main/scala/smithy4s/deriving/internals/InterfaceMirror.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ object InterfaceMirror:
5959
val decls = cls.declaredMethods.filterNot(encodesDefaultParameter)
6060
val labels = decls.map(m => ConstantType(StringConstant(m.name)))
6161

62-
def isMeta(annot: Term): Boolean =
63-
if annot.tpe <:< TypeRepr.of[MetaAnnotation] then true
64-
else
65-
report.info(s"annotation ${annot.show} does not extend ${Type.show[MetaAnnotation]}", annot.pos)
66-
false
62+
def isMeta(annot: Term): Boolean = annot.tpe <:< TypeRepr.of[MetaAnnotation]
6763

6864
def encodeMeta(annot: Term): Type[?] = AnnotatedType(TypeRepr.of[Meta], annot).asType
6965

0 commit comments

Comments
 (0)