File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class BeanProperties(thisPhase: DenotTransformer):
35
35
coord = annot.tree.span
36
36
).enteredAfter(thisPhase).asTerm
37
37
val annots = valDef.symbol.annotations.filter { a =>
38
- a.hasOneOfMetaAnnotation(defn.BeanGetterMetaAnnot ) | ! a.hasOneOfMetaAnnotation(defn.BeanSetterMetaAnnot )
38
+ a.hasOneOfMetaAnnotation(defn.BeanGetterMetaAnnot ) || ! a.hasOneOfMetaAnnotation(defn.BeanSetterMetaAnnot )
39
39
}
40
40
meth.addAnnotations(annots)
41
41
val body : Tree = ref(valDef.symbol)
@@ -52,7 +52,7 @@ class BeanProperties(thisPhase: DenotTransformer):
52
52
coord = annot.tree.span
53
53
).enteredAfter(thisPhase).asTerm
54
54
val annots = valDef.symbol.annotations.filter { a =>
55
- a.hasOneOfMetaAnnotation(defn.BeanSetterMetaAnnot ) | ! a.hasOneOfMetaAnnotation(defn.BeanGetterMetaAnnot )
55
+ a.hasOneOfMetaAnnotation(defn.BeanSetterMetaAnnot ) || ! a.hasOneOfMetaAnnotation(defn.BeanGetterMetaAnnot )
56
56
}
57
57
meth.addAnnotations(annots)
58
58
DefDef (meth, (params : List [List [Tree ]]) => Assign (ref(valDef.symbol), params.head.head)).withSpan(meth.span)
You can’t perform that action at this time.
0 commit comments