Skip to content

Commit eba9ebe

Browse files
committed
add nowarn to msg a type was inferred to be Any
1 parent 49fecc1 commit eba9ebe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/test/scala/com/avsystem/commons/serialization/IgnoreTransientDefaultMarkerTest.scala

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package serialization
33

44
import com.avsystem.commons.serialization.CodecTestData.HasDefaults
55

6+
import scala.annotation.nowarn
7+
68
object IgnoreTransientDefaultMarkerTest {
79
final case class NestedHasDefaults(
810
@transientDefault flag: Boolean = false,
@@ -19,6 +21,7 @@ object IgnoreTransientDefaultMarkerTest {
1921
object HasOptParam extends HasGenCodec[HasOptParam]
2022
}
2123

24+
@nowarn("msg=a type was inferred to be `Any`")
2225
class IgnoreTransientDefaultMarkerTest extends AbstractCodecTest {
2326
import IgnoreTransientDefaultMarkerTest.*
2427

0 commit comments

Comments
 (0)