We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb6e363 commit 41bdcd4Copy full SHA for 41bdcd4
macros/src/main/scala/com/avsystem/commons/macros/serialization/CodecMacroCommons.scala
@@ -61,7 +61,7 @@ abstract class CodecMacroCommons(ctx: blackbox.Context) extends AbstractMacroCom
61
def isGenerated(sym: Symbol): Boolean = sym.isTerm && {
62
val ts = sym.asTerm
63
// do not treat val/var's underlying field as a generated member,
64
- // pretend that the annotation is actually applied on its getter and setter
+ // pretend that the annotation is actually applied on its getter
65
ts.getter == NoSymbol && hasAnnotation(sym, GeneratedAnnotType) ||
66
ts.isGetter && hasAnnotation(ts.accessed, GeneratedAnnotType)
67
}
0 commit comments