Skip to content

Commit 02096b7

Browse files
authored
Merge pull request #4873 from abeln/move-flag-comment
Move comment in FlagSet definition
2 parents 34baac4 + 54cc372 commit 02096b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/core/Flags.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)