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):
3535 coord = annot.tree.span
3636 ).enteredAfter(thisPhase).asTerm
3737 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 )
3939 }
4040 meth.addAnnotations(annots)
4141 val body : Tree = ref(valDef.symbol)
@@ -52,7 +52,7 @@ class BeanProperties(thisPhase: DenotTransformer):
5252 coord = annot.tree.span
5353 ).enteredAfter(thisPhase).asTerm
5454 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 )
5656 }
5757 meth.addAnnotations(annots)
5858 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