File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ object Flags {
99 * The first two bits indicate whether a flagset applies to terms,
1010 * to types, or to both. Bits 2..63 are available for properties
1111 * and can be doubly used for terms and types.
12- * Combining two FlagSets with `|` will give a FlagSet
13- * that has the intersection of the applicability to terms/types
14- * of the two flag sets. It is checked that the intersection is not empty.
1512 */
1613 case class FlagSet (val bits : Long ) extends AnyVal {
1714
1815 /** The union of this flag set and the given flag set
16+ * Combining two FlagSets with `|` will give a FlagSet
17+ * that has the intersection of the applicability to terms/types
18+ * of the two flag sets. It is checked that the intersection is not empty.
1919 */
2020 def | (that : FlagSet ): FlagSet =
2121 if (bits == 0 ) that
You can’t perform that action at this time.
0 commit comments