File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
modules/core/shared/src/main/scala/smithy4s/deriving/internals Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ lazy val tests = crossProject(JVMPlatform)
39
39
.enablePlugins(NoPublishPlugin )
40
40
.dependsOn(core)
41
41
.settings(
42
- scalacOptions += " -language:implicitConversions" ,
43
42
libraryDependencies ++= Seq (
44
43
" org.scalameta" %% " munit" % " 0.7.29" % Test ,
45
44
" com.disneystreaming.smithy4s" %%% " smithy4s-dynamic" % " 0.18.16" % Test ,
Original file line number Diff line number Diff line change @@ -59,11 +59,7 @@ object InterfaceMirror:
59
59
val decls = cls.declaredMethods.filterNot(encodesDefaultParameter)
60
60
val labels = decls.map(m => ConstantType (StringConstant (m.name)))
61
61
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 ]
67
63
68
64
def encodeMeta (annot : Term ): Type [? ] = AnnotatedType (TypeRepr .of[Meta ], annot).asType
69
65
You can’t perform that action at this time.
0 commit comments