Skip to content

Commit b990f30

Browse files
committed
add ImplicitOptArg to TransparentGets in GenRefMacros
1 parent 3f69e67 commit b990f30

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.idea/codeStyles/Project.xml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

macros/src/main/scala/com/avsystem/commons/macros/serialization/GenRefMacros.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ class GenRefMacros(ctx: blackbox.Context) extends CodecMacroCommons(ctx) {
1717
val TransparentGets: Set[Symbol] = Set(
1818
staticType(tq"$CommonsPkg.Opt[_]"),
1919
staticType(tq"$CommonsPkg.OptArg[_]"),
20-
staticType(tq"$CommonsPkg.OptRef[_]")
20+
staticType(tq"$CommonsPkg.OptRef[_]"),
21+
staticType(tq"$CommonsPkg.ImplicitOptArg[_]"),
2122
).map(_.member(TermName("get")))
2223

2324
object MapApplyOrGet {

0 commit comments

Comments
 (0)