File tree 3 files changed +5
-5
lines changed
compiler/src/dotty/tools/dotc/transform
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Memoize extends MiniPhase with IdentityDenotTransformer { thisPhase =>
122
122
denot match {
123
123
case fieldDenot : SymDenotation if sym.annotations.nonEmpty =>
124
124
val cpy = fieldDenot.copySymDenotation()
125
- cpy.annotations = sym.annotations
125
+ cpy.annotations = atPhase(typerPhase)( sym.annotationsCarrying(defn. FieldMetaAnnot ))
126
126
cpy.installAfter(thisPhase)
127
127
case _ => ()
128
128
}
Original file line number Diff line number Diff line change 1
1
inspecting field fieldName1 @MyColumnBase
2
2
inspecting field fieldName2 @MyColumnBase
3
- inspecting field getterName1 @MyColumnBase
4
- inspecting field getterName2 @MyColumnBase
3
+ inspecting field getterName1
4
+ inspecting field getterName2
5
5
inspecting method fieldName1
6
6
inspecting method fieldName2
7
7
inspecting method getterName1 @MyColumnBase
Original file line number Diff line number Diff line change 1
- inspecting field value @JsonProperty
2
- inspecting field value2 @JsonProperty
1
+ inspecting field value
2
+ inspecting field value2
3
3
inspecting method getValue @JsonProperty
4
4
inspecting method getValue2 @JsonProperty
5
5
inspecting method setValue
You can’t perform that action at this time.
0 commit comments