File tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ object Flags {
9
9
* The first two bits indicate whether a flagset applies to terms,
10
10
* to types, or to both. Bits 2..63 are available for properties
11
11
* 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.
15
12
*/
16
13
case class FlagSet (val bits : Long ) extends AnyVal {
17
14
18
15
/** 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.
19
19
*/
20
20
def | (that : FlagSet ): FlagSet =
21
21
if (bits == 0 ) that
You can’t perform that action at this time.
0 commit comments